Why does -pedantic make long long an error in C++?

John David Anglin dave@hiauly1.hia.nrc.ca
Wed Aug 13 21:19:00 GMT 2003


Don't know but you can turn the error to a warning by adding
-Wlong-long, and make it go away completely with -Wno-long-long!
Addition of -ansi doesn't seem to change the behavior of g++
wrt to this error/warning.

Probably, a PR is needed.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)



More information about the Gcc mailing list