iwasakims commented on pull request #227:
URL: https://github.com/apache/yetus/pull/227#issuecomment-950869690


   The following example shows the outcome of the patch used for 
[hadoop-common](https://github.com/apache/hadoop/tree/trunk/hadoop-common-project/hadoop-common).
   
   ```
   $ mvn compile -Dtest=x -Pnative 2>&1 | grep -i -E 
"^.*\.(c|cc|cpp|cxx|c\+\+|h|hh|hpp|hxx|h\+\+)\:[[:digit:]]*\:" > /tmp/cc.log.1
   $ mvn compile -Dtest=x -Pnative 2>&1 | grep -i -E 
"^.*\.(c|cc|cpp|cxx|c\+\+|h|hh|hpp|hxx|h\+\+)\:[[:digit:]]*\:" > /tmp/cc.log.2
   
   
   $ diff /tmp/cc.log.1 /tmp/cc.log.2
   1a2,3
   > [WARNING] 
/home/centos/srcs/hadoop/hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/crypto/random/OpensslSecureRandom.c:250:33:
 warning: implicit declaration of function ‘dlsym_CRYPTO_num_locks’; did you 
mean ‘dlsym_CRYPTO_malloc’? [-Wimplicit-function-declaration]
   > [WARNING] 
/home/centos/srcs/hadoop/hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/crypto/random/OpensslSecureRandom.c:257:3:
 warning: implicit declaration of function ‘dlsym_CRYPTO_set_id_callback’; did 
you mean ‘CRYPTO_set_id_callback’? [-Wimplicit-function-declaration]
   6,7d7
   < [WARNING] 
/home/centos/srcs/hadoop/hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/crypto/random/OpensslSecureRandom.c:250:33:
 warning: implicit declaration of function ‘dlsym_CRYPTO_num_locks’; did you 
mean ‘dlsym_CRYPTO_malloc’? [-Wimplicit-function-declaration]
   < [WARNING] 
/home/centos/srcs/hadoop/hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/crypto/random/OpensslSecureRandom.c:257:3:
 warning: implicit declaration of function ‘dlsym_CRYPTO_set_id_callback’; did 
you mean ‘CRYPTO_set_id_callback’? [-Wimplicit-function-declaration]
   
   $ sort /tmp/cc.log.1 > /tmp/cc.log.sorted.1
   $ sort /tmp/cc.log.2 > /tmp/cc.log.sorted.2
   $ diff /tmp/cc.log.sorted.1 /tmp/cc.log.sorted.2
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to