I believe the intent is that version numbers are able to be compared
numerically.

In any case, they are numbers per https://dwarfstd.org/issues/210419.1.html
- "A DW_AT_language_version attribute may be specified whose constant value
is an integer code indicating the version of the source language."

On Fri, Mar 28, 2025 at 8:06 AM David Anderson via Dwarf-discuss <
dwarf-discuss@lists.dwarfstd.org> wrote:

>
>
> VVMMPP  Major version number (VV) × 10,000 + minor version number (MM) ×
> 100 + patch number (PP) (e.g., 30607 for version 3.6.7)
>
> https://dwarfstd.org/languages.html
>
> So I'm puzzled.
>
> As normally represented  3.101.198 is easily understood,
> but as shown in the explanation line above  ...
> what is supposed to be done? Why not just 3.6.7 instead of 030607 ?
>
> DavidAnderson
>
> --
> Dwarf-discuss mailing list
> Dwarf-discuss@lists.dwarfstd.org
> https://lists.dwarfstd.org/mailman/listinfo/dwarf-discuss
>
-- 
Dwarf-discuss mailing list
Dwarf-discuss@lists.dwarfstd.org
https://lists.dwarfstd.org/mailman/listinfo/dwarf-discuss

Reply via email to