Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
C::B flags 'note:' as a compiler error (with patch)
gmb300:
Example:
warning: 'nErr' may be used uninitialized in this function
note: 'nErr' was declared here
^ This line is not an error, it is the context of the warning message
The 'note:' gets flagged as an error.
Edited...
MortenMacFly:
--- Quote from: gmb300 on September 13, 2007, 11:15:31 pm ---Since I set the maximum error limit to 5 this prevents me from seeing any real errors.
--- End quote ---
So why do you set such a low limit then?! :shock:
gmb300:
Patch
I created a patch which treats 'note:' lines as information. But only for the MingW/GCC target. It might be a good idea to add these regexes to all the GCC based compiler targets.
[attachment deleted by admin]
Biplab:
--- Quote from: gmb300 on September 14, 2007, 08:38:41 pm ---Patch
I created a patch which treats 'note:' lines as information. But only for the MingW/GCC target. It might be a good idea to add these regexes to all the GCC based compiler targets.
--- End quote ---
Applied in revision 4544. Thanks for the patch. :)
darthdespotism:
MinGW only?
Can be annoying with nativ gcc on Gnu/Linux, too ;)
Navigation
[0] Message Index
[#] Next page
Go to full version