Hello everybody,


I am developing C/C++ applications in QT Creator 2.4.1 (32 bit) with CMake. Now 
I want to use FlexeLint to enhance the quality/security of my code. I 
configured CMake to create LINT_xxx targets in the generated Makefiles and 
configured QT Creator to build these targets. During the build of these 
LINT_xxx targets I get the output of FlexeLint on the Compile Output Console. 
So far, so nice...



I would like to get the LINT output into the issues list for jumping directly 
to the warning/error depending places in the source code by double click.

So I tried to convert the FlexeLint output to look like the gcc output.



Therefor I changed the output format in my lint configuration into this:

-"format=%(%f:%l:%c: %) %t %n: %m"



This format generates an output like:

/home/user/myProject/signalinternal.h:234:66:  Warning 534: Ignoring return 
value of function MyNamespace::MyClass::ReadValue(unsigned short, unsigned 
long, unsigned short, unsigned long, double &)' (compare with line 774, file 
/home/user/myProject/inc/Data/RemoteDB.h) [MISRA C++ Rules 0-1-7 and 0-3-2]



As the gcc output looks like the following line, I thought this would work. 
Unfortunately, I was disabused ...

/home/sma/workspace/CCL/CCCore/src/CoreApp/qsmlib/db.qsm_remoteodb2/src/ipc/messagehandler.cpp:304:29:
 warning: comparison between signed and unsigned integer expressions



Can anybody tell me a way to format the console output to view errors and 
warnings in the issues list?



Thank you for your answers.



Greetings

Christian Barth
___________________________________________________

SMA Solar Technology AG
Aufsichtsrat: Guenther Cramer (Vorsitzender)
Vorstand: Juergen Dolle, Roland Grebe, Pierre-Pascal Urbon, Marko Werner
Handelsregister: Amtsgericht Kassel HRB 3972
Sitz der Gesellschaft: 34266 Niestetal
USt-ID-Nr. DE 113 08 59 54
WEEE-Reg.-Nr. DE 95881150
___________________________________________________
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to