> > ok '-x c++' is getting rid of the warning. > > asterix:/home/balay/junk>clang sizeof.c > asterix:/home/balay/junk>clang++ sizeof.c > clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior > is deprecated > asterix:/home/balay/junk>clang++ -x c++ sizeof.c > asterix:/home/balay/junk>
Yes, and the other way works too: $ clang++ -x c sizeof.c Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110404/cd45c2a9/attachment.html>
