[PATCH] Updated spec/config.gcc for FreeBSD 7.
Joseph S. Myers
joseph@codesourcery.com
Sat Aug 30 21:15:00 GMT 2008
On Fri, 29 Aug 2008, Javier Villavicencio wrote:
> Thanks for the hint, but I can't get it "right", let's say, I have this:
> #define FBSD_TARGET_OS_CPP_EBUILTINS() \
> [...]
> if (!flag_iso && (c_dialect_cxx() ? cxx_dialect == cxx98 :!flag_isoc99)\
> builtin_define ("_LONGLONG"); \
> [...]
>
> Unless I've got the last condition wrong, shouldn't it be c94?:
> (c_dialect_cxx(), cxx_dialect == cxx98 : !flag_isoc94)
No. C94 does not have long long; it's C90 plus digraphs (roughly).
> And, honestly, I didn't knew about the cxx_dialect one, can you please
> elaborate a little bit more on that condition?
C++0x has long long, while C++98/C++03 doesn't.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Gcc-patches
mailing list