[Qt-creator] "Build Issues" breakage in 2.2.0 beta?
Matt Thompson
mathomp at gmail.com
Tue Mar 29 17:02:43 CEST 2011
I have plain gmake a project that I have imported into earlier
versions of Qt Creator and things have been working fine. I just
started trying the 2.2.0 beta and I have noticed that warnings are not
being reported in the "Build Issues" panel even when there are clear
warnings visible in the "Compile Output" panel:
SliceOfGrid3D.cc:161:2: warning: #warning "SliceOfGrid3D::get_elem
needs an implementation!"
SliceOfGrid3D.cc:167:2: warning: #warning "SliceOfGrid3D::get_elem
needs an implementation!"
SliceOfGrid3D.cc: In member function ‘void SliceOfGrid3D::set_slice_pos(float)’:
SliceOfGrid3D.cc:55:22: warning: comparison between signed and
unsigned integer expressions
SliceOfGrid3D.cc: In member function ‘virtual float
SliceOfGrid3D::get_a_value(int) const’:
SliceOfGrid3D.cc:178:43: warning: comparison between signed and
unsigned integer expressions
Also, when I have code that has build errors, the Build Issues panel
appears to only show the "Error 1" line rather than the individual
error lines. For example, the Compile Output shows:
vsnap_iiid_app_act.cc:59:24: error: ‘strcmp’ was not declared in this scope
vsnap_iiid_app_act.cc:60:19: error: ‘strdup’ was not declared in this scope
vsnap_iiid_app_act.cc:63:19: error: ‘strdup’ was not declared in this scope
vsnap_iiid_app_act.cc:66:19: error: ‘strdup’ was not declared in this scope
vsnap_iiid_app_act.cc: In member function ‘virtual void
vsnap_iiid_app_act::save_grid(BasicEvent*)’:
vsnap_iiid_app_act.cc:175:15: error: ‘strlen’ was not declared in this scope
vsnap_iiid_app_act.cc: In member function ‘virtual void
vsnap_iiid_app_act::save_slice(BasicEvent*)’:
vsnap_iiid_app_act.cc:227:15: error: ‘strlen’ was not declared in this scope
make: *** [vsnap_iiid_app_act.o] Error 1
But the Build Issues only shows a single entry that says:
[vsnap_iiid_app_act.o] Error 1
And clicking on that line adds "File not found:" in red under the error listing.
I am running on CentOS 5.4 64bit using my own build of Qt 4.7.2, Qt
Creator 2.1.81 (2.2.0 beta tar ball from the web site) and compiling
my project with gcc 4.5.2 and gmake 3.81.
What things should I check? I can write this up as a bug report if needed.
-Matt
More information about the Qt-creator-old
mailing list