[I'm reposting this because my previous message appeared as a reply to
another
message]
Hi all,
I'm trying to figure out how the command line options for strict ANSI
conformance map to the options under "C/C++ Language" on the Target
Settings
Window.
Specifically, is it correct that:
* "-ansi strict" is the same as "ANSI Strict"
* "-stdkeywords" on is the same as "ANSI Keywords Only"
* "-enum int" is the same as "Enums Always Int
* "-iso_templates" on is the same as "ISO C++ Template Parser"
If so, does this mean there is no IDE counterpart to "-strict on"?
Also, why is enum size tied to ANSI conformance? I know there are
requirements
on the size of enums, but the standard doesn't require that enums always
have
the size of int.
Finally, what's the relation between "-iso_templates" and the pragmas
"parse_func_templ", "parse_mfunc_templ" and "warn_no_typename"?
Best Regards,
Jonathan


|