# Openssl can't compile with pcc

**URL:** <https://www.ruby-forum.com/t/openssl-cant-compile-with-pcc/116575>\
**Category:** Development\
**Created:** [October 7, 2007, 3:36pm UTC](https://www.ruby-forum.com/t/openssl-cant-compile-with-pcc/116575 "2007-10-07T15:36:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NARUSES\_Yui](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/258eb7/32.png) [@NARUSES\_Yui](https://www.ruby-forum.com/u/NARUSES_Yui)\
**Post date:** [October 7, 2007, 3:36pm UTC](https://www.ruby-forum.com/t/openssl-cant-compile-with-pcc/116575/1 "2007-10-07T15:36:27Z")

</div>

e$B@.@%$G$9!#e(B

pcc e$B$Ge(B ext/openssl  
e$B$r%3%s%Q%$%k$7$h$&$H%(%i!\<$,=P$^$9!#e(Bossl\_ssl.c e$B$Ne(B 310  
e$B9TL$J$I!"e(BOSSL\_Debug() e$B$N0z?t$,0l$D$N;~$Ke(B syntax error  
e$B$,=P$F$7$^$C$F$$e(B  
e$B$k$h$&$G$9!#e(B

# Index: ext/openssl/ossl.h

— ext/openssl/ossl.h (e$B%j%S%8%g%se(B 13652)  
+++ ext/openssl/ossl.h (e$B:n6H%3%T!\<e(B)  
@@ -163,10 +163,10 @@  
extern VALUE dOSSL;

#if defined(HAVE\_VA\_ARGS\_MACRO)  
-#define OSSL\_Debug(fmt, …) do {   
+#define OSSL\_Debug(…) do {   
if (dOSSL == Qtrue) {   
fprintf(stderr, "OSSL\_DEBUG: "); \

- fprintf(stderr, fmt, ## **VA\_ARGS** ); \

- fprintf(stderr, **VA\_ARGS** );   
fprintf(stderr, " [%s:%d]\n", **FILE** , **LINE** );   
}   
} while (0)
