[Geany-devel] [geany/geany] 795ee4: Merge pull request #28 from RetroX/patch-1

Lex Trotman elextr at xxxxx
Sat Feb 25 23:26:29 UTC 2012


Hi All,

I have thought about which types should be "automagically" present in
Geany without a tags file, and I do not think the intN_t types
qualify.  They are not fundamental, they require header <cstdint> to
be included and they do not even have to exist, they are all optional,
only the fast and least types are required, and they don't have fixed
sizes.

Also it is bad practice to be using fixed size types, especially as
they are not actually guaranteed to exist.  If they are used they
should be typedefed to a more user friendly name.

So I suggest that only the fundamental types and <cstddef> types
size_t, nullptr_t ptrdiff_t and max_align_t should be available by
adding them to the secondary keyword list for C++.

Regards
Lex



More information about the Devel mailing list