You cannot use #warning together with -pedantic. You have to get rid of one or the other.
(sid)2537:[EMAIL PROTECTED]: ~/src] cat > t.cc #warning "foo" (sid)2538:[EMAIL PROTECTED]: ~/src] /usr/lib/gcc-snapshot/bin/g++ -c t.cc t.cc:1:2: warning: #warning "foo" (sid)2539:[EMAIL PROTECTED]: ~/src] /usr/lib/gcc-snapshot/bin/g++ -c -pedantic t.cc t.cc:1:2: error: #warning is a GCC extension t.cc:1:2: warning: #warning "foo" zsh: exit 1 /usr/lib/gcc-snapshot/bin/g++ -c -pedantic t.cc -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]