Created
September 10, 2020 10:46
-
-
Save darranl/4d93bf4898cc20dd0b5d100f2d42284c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] --- exec-maven-plugin:1.6.0:exec (default) @ wildfly-openssl-macosx-x86_64 --- | |
mkdir -p target/classes/macosx-x86_64 | |
cc -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wpointer-arith -std=c89 -Wdeclaration-after-statement -Wformat -Wformat-security -Wunused -Wno-unknown-pragmas -c ../libwfssl/src/alpn.c -o target/alpn.o -I../libwfssl/include -I/Users/darranlofthouse/applications/jdk-11.0.2.jdk/Contents/Home/include -I/Users/darranlofthouse/applications/jdk-11.0.2.jdk/Contents/Home/include/darwin | |
cc -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wpointer-arith -std=c89 -Wdeclaration-after-statement -Wformat -Wformat-security -Wunused -Wno-unknown-pragmas -c ../libwfssl/src/clientcert.c -o target/clientcert.o -I../libwfssl/include -I/Users/darranlofthouse/applications/jdk-11.0.2.jdk/Contents/Home/include -I/Users/darranlofthouse/applications/jdk-11.0.2.jdk/Contents/Home/include/darwin | |
cc -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wpointer-arith -std=c89 -Wdeclaration-after-statement -Wformat -Wformat-security -Wunused -Wno-unknown-pragmas -c ../libwfssl/src/options.c -o target/options.o -I../libwfssl/include -I/Users/darranlofthouse/applications/jdk-11.0.2.jdk/Contents/Home/include -I/Users/darranlofthouse/applications/jdk-11.0.2.jdk/Contents/Home/include/darwin | |
cc -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wpointer-arith -std=c89 -Wdeclaration-after-statement -Wformat -Wformat-security -Wunused -Wno-unknown-pragmas -c ../libwfssl/src/session.c -o target/session.o -I../libwfssl/include -I/Users/darranlofthouse/applications/jdk-11.0.2.jdk/Contents/Home/include -I/Users/darranlofthouse/applications/jdk-11.0.2.jdk/Contents/Home/include/darwin | |
cc -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wpointer-arith -std=c89 -Wdeclaration-after-statement -Wformat -Wformat-security -Wunused -Wno-unknown-pragmas -c ../libwfssl/src/ssl.c -o target/ssl.o -I../libwfssl/include -I/Users/darranlofthouse/applications/jdk-11.0.2.jdk/Contents/Home/include -I/Users/darranlofthouse/applications/jdk-11.0.2.jdk/Contents/Home/include/darwin | |
../libwfssl/src/ssl.c:604:25: error: variable 'protoVersion' is used uninitialized whenever 'for' loop exits because its condition is false [-Werror,-Wsometimes-uninitialized] | |
for (i = 0; i < 6; i++) { | |
^~~~~ | |
../libwfssl/src/ssl.c:610:81: note: uninitialized use occurs here | |
ssl_methods.SSL_CTX_ctrl((c->ctx), SSL_CTRL_SET_MIN_PROTO_VERSION, (protoVersion), NULL); | |
^~~~~~~~~~~~ | |
../libwfssl/src/ssl.c:604:25: note: remove the condition if it is always true | |
for (i = 0; i < 6; i++) { | |
^~~~~ | |
../libwfssl/src/ssl.c:550:21: note: initialize the variable 'protoVersion' to silence this warning | |
int protoVersion; | |
^ | |
= 0 | |
1 error generated. | |
make: *** [target/ssl.o] Error 1 | |
[ERROR] Command execution failed. | |
org.apache.commons.exec.ExecuteException: Process exited with an error: 2 (Exit value: 2) | |
at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404) | |
at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166) | |
at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:804) | |
at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:751) | |
at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:313) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment