Build error while setting up the environment in Linux

As I am following this guide > [http://www.cocos2d-x.org/wiki/Linux_Environment_Setup] on setting up the environment in Linux, I have encounter the following error, could you please help what I have done wrong?

…/Classes/ExtensionsTest/CocoStudioArmatureTest/ArmatureScene.cpp:1062:27: error: ‘maxx’ may be used uninitialized in this function [-Werror=maybe-uninitialized] CXX obj/release/Classes/ExtensionsTest/CocoStudioGUITest/UILabelBMFontTest/UILabelBMFontTest.o

…/Classes/ExtensionsTest/CocoStudioArmatureTest/ArmatureScene.cpp:1062:27: error: ‘miny’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
…/Classes/ExtensionsTest/CocoStudioArmatureTest/ArmatureScene.cpp:1062:27: error: ‘minx’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
CXX obj/release/Classes/ExtensionsTest/CocoStudioGUITest/UILabelTest/UILabelTest.o
cc1plus: all warnings being treated as errors
make[1]: *** [obj/release/Classes/ExtensionsTest/CocoStudioArmatureTest/ArmatureScene.o] Error 1
make[1]: *** Waiting for unfinished jobs…

you can edit …/Classes/ExtensionsTest/CocoStudioArmatureTest/ArmatureScene.cpp:1062 to float minx=0, miny=0, maxx=0, maxy = 0;
But I think you should update the version of your gcc
you can read this blog http://blog.csdn.net/langxianwenye/article/details/9980865
a worse method is that:
you can edit cocos2dx/proj.linux/cocos2dx.mk line 5 and line 6 and remove -Werror

This is just so annoying, I though it suppose to be a warning rather than an error. BTW, I am using version GCC 4.7.3, should the latest update version of GCC.