error when build glui in Box2D with premake4.4 and MinGW

hi,today when I build Box2D with premake4.4 and MinGW,one error occurs:

"==== Building Box2D (debug) ===="
"==== Building GLUI (debug) ===="
algebra3.cpp
g++: error: /W1: No such file or directory
make[1]: *** [obj/Debug/GLUI/algebra3.o] Error 1
make: *** [GLUI] Error 2

but with Cmake and the same MinGW,building is OK。
what is going on?

ps:MinGW is downloaded from here http://sourceforge.net/projects/mingw/files/
I have the exactly same problem. If anybody know the the answer pls tell us! 🙂
Hello. I got the same error. I replaced "/W1" with "-w" in the file GLUI.make because I figured it is some sort of malformatted option for gcc. It appears twice in the file, in the debug and release sections. It compiled nicely after that (except for the testbed, which I don't think I need), and helloworld gives the same output as in the manual so I think everything is fine... we'll see. 🙂

Original thread: https://box2d.org/forum/viewtopic.php?t=8228