[bt-devel] Problems with GCC 4.3.2 on Kubuntu 8.10

Eeli Kaikkonen eekaikko at mail.student.oulu.fi
Thu Nov 6 05:13:52 MST 2008


Quoting Greg Hellings <greg.hellings at gmail.com>:

>
> Most of the errors that I see are not for "const vartype function()"
> but rather for "vartype const function()."  It tooke me some time of
> looking through the errors very carefully to note that all the errors
> I could see were of that type.  Also, there were a few "static vartype
> function() const" which also threw all sorts of problems.  I found
> that adding -Werror to the compile flags is the easiest way to sort
> out the mess, one compiled file at a time.
>

Thanks! I will change them, too, as far as I can find them. "y const  
x()" was used only for pointers in the cases I have checked. Is there  
a way to trigger these in Kubuntu 8.04? I have now used text finder  
tool. It could also help if someone gave the error output here.

It looked like const was used almost randomly in many classes, similar  
methods had different const definitions.




More information about the bt-devel mailing list