On 2012-6-15 12:33 , Craig Treleaven wrote: > Failure with clang comes earlier, ala: > >> /usr/bin/clang -c -pipe -pipe -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 >> -D_LARGEFILE_SOURCE -D_DARWIN_C_SOURCE -DPIC -pipe -O2 -arch x86_64 >> -std=c99 -fomit-frame-pointer -fPIC -g -Wall -Wno-parentheses >> -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls >> -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef >> -Wmissing-prototypes -O3 -fno-math-errno -fno-signed-zeros >> -Qunused-arguments -O2 -arch x86_64 -Xarch_x86_64 >> -mmacosx-version-min=10.7 -DMMX -DUSING_APPLEREMOTE -D_GNU_SOURCE >> -DUSE_LIRC -DUSE_OPENGL_PAINTER -DUSING_QTWEBKIT -DMUI_API >> -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_SQL_LIB -DQT_XML_LIB >> -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB >> -DQT_SHARED -I/opt/local/share/qt4/mkspecs/macx-g++ -I. -I. >> -I/usr/include -I/opt/local -I/opt/local/include/libxml2 >> -I../libmythbase -I../.. -I.. -I../../external/FFmpeg >> -I/opt/local/include/QtWebKit -I/opt/local/include/QtSql >> -I/opt/local/include/QtXml -I/opt/local/include/QtOpenGL >> -I/opt/local/include/QtGui -I/opt/local/include/QtNetwork >> -I/opt/local/include/QtCore -I/opt/local/include >> -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers >> -I/System/Library/Frameworks/AGL.framework/Headers util-osx-cocoa.mm >> -o util-osx-cocoa.o >> error: invalid argument '-std=c99' not allowed with 'C++/ObjC++' >> make[2]: *** [util-osx-cocoa.o] Error 1
You can't really blame it. Telling a C++ compiler to conform to a C standard makes no sense. - Josh _______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev