Are you building your something using Gcc(>=4.6) ?
If yes, then you used be more careful to use "treat warning as an error".
Recently I tried to build zbase over Ubuntu 12.04 2 which uses Gcc (4.6.2) and I faced lots of problem.
And then I moved to Gcc(4.2), everything was too smooth. No error or warnings.
Then I looked into Gcc release details and came across with few important points:
If yes, then you used be more careful to use "treat warning as an error".
Recently I tried to build zbase over Ubuntu 12.04 2 which uses Gcc (4.6.2) and I faced lots of problem.
And then I moved to Gcc(4.2), everything was too smooth. No error or warnings.
Then I looked into Gcc release details and came across with few important points:
-Wunused-but-set-variableand-Wunused-but-set-parameterwarnings were added. Also the-Wunused-but-set-variablewarning is enabled by default by-Wallflag and-Wunused-but-set-parameterby-Wall -Wextraflags.- Also you may face few linkers problem. I faced a one with jemalloc.
For more about changes have a look here :)
In drizzle , I have to include "config.h" in each file to get rid of this type of error.
In drizzle , I have to include "config.h" in each file to get rid of this type of error.
No comments:
Post a Comment