a.txt truncated and reposted 2008/7/21 Neil Girdhar <[EMAIL PROTECTED]>:
> sorry, this was the command-line: make VERBOSE=1 >b.txt 2> a.txt > > 2008/7/21 Neil Girdhar <[EMAIL PROTECTED]>: > > Hi again Bill, >> >> I ran "make >a.txt 2>b.txt" and attached the output. >> >> >> 2008/7/21 Bill Hoffman <[EMAIL PROTECTED]>: >> >> Neil Girdhar wrote: >>> >>>> sorry, I mean cmake version 2.6-patch 0 >>>> >>>> 2008/7/21 Neil Girdhar <[EMAIL PROTECTED] <mailto: >>>> [EMAIL PROTECTED]>>: >>>> >>>> Hi, thanks for the swift reply... >>>> >>>> I am using cmake 6.0 and the makefile generator. >>>> >>>> Neil >>>> >>>> 2008/7/21 Bill Hoffman <[EMAIL PROTECTED] >>>> <mailto:[EMAIL PROTECTED]>>: >>>> >>>> Neil Girdhar wrote: >>>> >>>> Hi Cmake people >>>> >>>> I'm having a problem with cmake. I think it's issue 7215 >>>> <http://www.cmake.org/Bug/view.php?id=7215>. I am running >>>> mac os X 1.04. I used macports to install cmake and qt. My >>>> project used to compile, and then I upgraded both cmake and >>>> qt, and it no longer compiles. examining the preprocessed >>>> output of one of my source files, I can see that it is >>>> giving me "error template with C linkage" errors even though >>>> there is no surround 'extern "C"' and the source file is >>>> called something.cc. That seems to indicate that there's an >>>> implicit extern "C". >>>> >>>> >>>> I am not sure what is going on. You could try make VERBOSE=1 and see >>> what the command line looks like. >>> >>> -Bill >>> >> >> >
/opt/local/bin/cmake -H/Users/wizard/Desktop/nn/src -B/Users/wizard/Desktop/nn/src --check-build-system CMakeFiles/Makefile.cmake 0 /opt/local/bin/cmake -E cmake_progress_start /Users/wizard/Desktop/nn/src/CMakeFiles /Users/wizard/Desktop/nn/src/CMakeFiles/progress.make make -f CMakeFiles/Makefile2 all make -f ui/CMakeFiles/ui.dir/build.make ui/CMakeFiles/ui.dir/depend cd /Users/wizard/Desktop/nn/src && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /Users/wizard/Desktop/nn/src /Users/wizard/Desktop/nn/src/ui /Users/wizard/Desktop/nn/src /Users/wizard/Desktop/nn/src/ui /Users/wizard/Desktop/nn/src/ui/CMakeFiles/ui.dir/DependInfo.cmake --color= Dependee "/Users/wizard/Desktop/nn/src/ui/CMakeFiles/ui.dir/DependInfo.cmake" is newer than depender "/Users/wizard/Desktop/nn/src/ui/CMakeFiles/ui.dir/depend.internal". Scanning dependencies of target ui make -f ui/CMakeFiles/ui.dir/build.make ui/CMakeFiles/ui.dir/build /opt/local/bin/cmake -E cmake_progress_report /Users/wizard/Desktop/nn/src/CMakeFiles 53 [ 1%] Building CXX object ui/CMakeFiles/ui.dir/frame.cc.o cd /Users/wizard/Desktop/nn/src/ui && /usr/bin/c++ -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_DLL -isystem /opt/local/include/qt4-mac -isystem /opt/local/include/qt4-mac/QtGui -isystem /opt/local/include/qt4-mac/QtCore -isystem /opt/local/include -isystem /opt/local/include/qt4-mac/phonon -isystem /opt/local/include/qt4-mac/QtXmlPatterns -isystem /opt/local/include/qt4-mac/QtWebKit -isystem /opt/local/include/qt4-mac/QtHelp -isystem /opt/local/include/qt4-mac/QtAssistant -isystem /opt/local/include/qt4-mac/QtDBus -isystem /opt/local/include/qt4-mac/QtTest -isystem /opt/local/include/qt4-mac/QtUiTools -isystem /opt/local/include/qt4-mac/QtScript -isystem /opt/local/include/qt4-mac/QtSvg -isystem /opt/local/include/qt4-mac/QtXml -isystem /opt/local/include/qt4-mac/QtSql -isystem /opt/local/include/qt4-mac/QtOpenGL -isystem /opt/local/include/qt4-mac/QtNetwork -isystem /opt/local/include/qt4-mac/QtDesigner -isystem /opt/local/include/qt4-mac/Qt3Support -isystem /opt/local/include/qt4-mac/Qt -isystem /opt/local/share/qt4-mac/mkspecs/default -I/Users/wizard/Desktop/nn/src/. -F/opt/local/Library/Frameworks -L/opt/local/Library/Frameworks -F/opt/local/Library/Frameworks -L/opt/local/Library/Frameworks -o CMakeFiles/ui.dir/frame.cc.o -c /Users/wizard/Desktop/nn/src/ui/frame.cc
In file included from /Users/wizard/Desktop/nn/src/ui/frame.cc:9: /Users/wizard/Desktop/nn/src/ui/settings.h:5:2: error: #error laksjdf /Users/wizard/Desktop/nn/src/ui/settings.h:11:2: error: #error QOS /opt/local/Library/Frameworks/QtCore.framework/Headers/qglobal.h:777: error: template with C linkage /opt/local/Library/Frameworks/QtCore.framework/Headers/qglobal.h:780: error: template with C linkage /opt/local/Library/Frameworks/QtCore.framework/Headers/qglobal.h:783: error: template with C linkage /opt/local/Library/Frameworks/QtCore.framework/Headers/qglobal.h:786: error: template with C linkage /opt/local/Library/Frameworks/QtCore.framework/Headers/qglobal.h:973: error: template with C linkage /opt/local/Library/Frameworks/QtCore.framework/Headers/qglobal.h:982: error: template with C linkage /opt/local/Library/Frameworks/QtCore.framework/Headers/qglobal.h:984: error: template with C linkage /opt/local/Library/Frameworks/QtCore.framework/Headers/qglobal.h:986: error: template with C linkage /opt/local/Library/Frameworks/QtCore.framework/Headers/qglobal.h:1394: error: declaration of C function 'void qErrnoWarning(const char*, ...)' conflicts with /opt/local/Library/Frameworks/QtCore.framework/Headers/qglobal.h:1393: error: previous declaration 'void qErrnoWarning(int, const char*, ...)' here /opt/local/Library/Frameworks/QtCore.framework/Headers/qglobal.h:1408: error: declaration of C function 'QDebug qDebug(...)' conflicts with /opt/local/Library/Frameworks/QtCore.framework/Headers/qglobal.h:1367: error: previous declaration 'void qDebug(const char*, ...)' here /opt/local/Library/Frameworks/QtCore.framework/Headers/qglobal.h:1409: error: declaration of C function 'QDebug qWarning(...)' conflicts with /opt/local/Library/Frameworks/QtCore.framework/Headers/qglobal.h:1373: error: previous declaration 'void qWarning(const char*, ...)' here /opt/local/Library/Frameworks/QtCore.framework/Headers/qglobal.h:1410: error: declaration of C function 'QDebug qCritical(...)' conflicts with /opt/local/Library/Frameworks/QtCore.framework/Headers/qglobal.h:1381: error: previous declaration 'void qCritical(const char*, ...)' here /opt/local/Library/Frameworks/QtCore.framework/Headers/qglobal.h:1540: error: template with C linkage /opt/local/Library/Frameworks/QtCore.framework/Headers/qglobal.h:1544: error: template with C linkage /opt/local/Library/Frameworks/QtCore.framework/Headers/qglobal.h:1553: error: template with C linkage /opt/local/Library/Frameworks/QtCore.framework/Headers/qglobal.h: In function 'bool operator==(bool, QBool)': /opt/local/Library/Frameworks/QtCore.framework/Headers/qglobal.h:1628: error: declaration of C function 'bool operator==(bool, QBool)' conflicts with /opt/local/Library/Frameworks/QtCore.framework/Headers/qglobal.h:1627: error: previous declaration 'bool operator==(QBool, bool)' here /opt/local/Library/Frameworks/QtCore.framework/Headers/qglobal.h: In function 'bool operator==(QBool, QBool)': /opt/local/Library/Frameworks/QtCore.framework/Headers/qglobal.h:1629: error: declaration of C function 'bool operator==(QBool, QBool)' conflicts with /opt/local/Library/Frameworks/QtCore.framework/Headers/qglobal.h:1628: error: previous declaration 'bool operator==(bool, QBool)' here /opt/local/Library/Frameworks/QtCore.framework/Headers/qglobal.h: In function 'bool operator!=(bool, QBool)': .. and so on...
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
