allinurl / gwsocket

fast, standalone, language-agnostic WebSocket server RFC6455 compliant
http://gwsocket.io
MIT License
750 stars 67 forks source link

-Wno-missing-field-initializers on SPARC machine #40

Closed crisGuada closed 1 year ago

crisGuada commented 3 years ago

Hello I am trying to compile the gwsocket on a SPARC machine with solaris and it gives me this error while doing the makefile. What can be? (I clarify, I am not an expert in unix)

allinurl commented 3 years ago

This may be hard to debug as I don't have access to a SPARC machine. Still, could you please post the errors that you are getting?

crisGuada commented 3 years ago

this is the error: depbase=echo src/base64.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I./src -O2 -Wno-long-long -Wall -W -Wnested-externs -Wformat=2 -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare -Wredundant-decls -Wbad-function-cast -Winline -Wcast-align -Wextra -Wdeclaration-after-statement -Wno-missing-field-initializers -MT src/base64.o -MD -MP -MF $depbase.Tpo -c -o src/base64.o src/base64.c &&\ mv -f $depbase.Tpo $depbase.Po cc1: error: unrecognized command line option "-Wno-missing-field-initializers" *** Error code 1 make: Fatal error: Command failed for target `src/base64.o'

allinurl commented 3 years ago

Can you please try removing the -Wno-missing-field-initializers from the Makefile.am? and building again as described here.

allinurl commented 3 years ago

Any updates on this? Thanks

allinurl commented 1 year ago

Closing this. Feel free to reopen it if needed.