[Qt4-preview-feedback] Error while compiling the lib with exceptions support

Octave octave at octavious.servegame.org
Thu Feb 12 14:45:47 CET 2009


While compiling the lib with exceptions enabled, an error related of an 
unknown identifier was shown in file src/testlib/qtestcase.cpp near line 
1490.
The error was the unknown callgrindChildExitCode int, that is declared line ~ 
1415.

This is dues to the exceptions support, that adds a try block around it, so 
the identifier isn't defined at the return statement.

I made a patch that make it work fine for me, it just changes the declaration 
line of the identifier for something outside the try block.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: qtestcase.cpp.patch
Type: text/x-diff
Size: 829 bytes
Desc: not available
Url : http://lists.qt.nokia.com/pipermail/qt4-feedback/attachments/20090212/de7fa4bb/attachment.bin 


More information about the Qt4-feedback mailing list