-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Annoying warning (‘-pedantic’ is not an option that controls warnings) #27
Comments
Which compiler version? |
Oh, sorry. I used |
If you replace "-pedantic" to "-Wpedantic" in atomic_ops.c, does it remove the warning? |
I'm sorry, but there is no |
Trying to compile directly from source using ./configure --disable-static --enable-shared --libdir=/opt/local/lib --includedir=/opt/local/include
[…]
libtool: compile: gcc -DHAVE_CONFIG_H -I../src -I../src -fPIC -Wall -Wextra -Wpedantic -Wno-long-long -g -O2 -MT atomic_ops.lo -MD -MP -MF .deps/atomic_ops.Tpo -c atomic_ops.c -fPIC -DPIC -o .libs/atomic_ops.o
In file included from atomic_ops.c:78:0:
atomic_ops/sysdeps/standard_ao_double_t.h:35:37: warning: ‘-pedantic’ is not an option that controls warnings [-Wpragmas]
# pragma GCC diagnostic ignored "-pedantic"
^~~~~~~~~~~
atomic_ops/sysdeps/standard_ao_double_t.h:37:22: warning: ISO C does not support ‘__int128’ types [-Wpedantic]
typedef unsigned __int128 double_ptr_storage;
^~~~~~~~ |
Ah, sorry I meant src/atomic_ops/sysdeps/standard_ao_double_t.h. |
Ok, cool, that works perfectly bro! It seems that |
Fixed in 7fad46e |
Request about shared-only libraries installation is moved to #28 |
Hi. When I compile this repo. from nginx, I get this minor warning:
Maybe It could be relevant? Or not.
The text was updated successfully, but these errors were encountered: