DRAFT document on coding conventions in kde libraries

Dirk Mueller mueller at kde.org
Mon Mar 13 16:00:03 GMT 2006


On Monday, 6. March 2006 22:17, Thiago Macieira wrote:

> and it gave me no errors or warnings.

sure, because you didn't even use -Wall ;)

anyway, gcc correctly emits diagnostics if asked to: 

$ g++ -ansi -pedantic -c test.cpp
test.cpp:9: warning: ISO C++ forbids casting between pointer-to-function and 
pointer-to-object
test.cpp:10: warning: ISO C++ forbids casting between pointer-to-function and 
pointer-to-object


-- 
Dirk//\




More information about the kde-core-devel mailing list