build error in kdegraphics

Pavel Heimlich, a.k.a. hajma tropikhajma at gmail.com
Thu Jun 3 00:37:31 CEST 2010


2010/6/1 Alexander Neundorf <neundorf at kde.org>:
> Can you put something like
> #warning "Here I am"
> in places where it makes sense in CMakeCXXCompilerId.cpp.in and then run cmake
> again in clean build trees (small hello-world like projects should be good
> enough for that).

Hi, compiling slightly modified CMakeCXXCompilerId.cpp.in
(http://tropikhajma.sweb.cz/osol/a.cpp) yields:
$ CC a.cpp
"a.cpp", line 7: Warning: #warning "CMakeCXXCompilerId.cpp.in:1".
"a.cpp", line 22: Warning: #warning "CMakeCXXCompilerId.cpp.in:3".
"a.cpp", line 62: Warning: #warning "CMakeCXXCompilerId.cpp.in:7".
"a.cpp", line 67: Warning: String literal converted to char* in initialization.
"a.cpp", line 68: Warning: #warning "CMakeCXXCompilerId.cpp.in:8".
5 Warning(s) detected.
$ ./a.out
SunPro

HTH


More information about the Kde-buildsystem mailing list