X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=2.9 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" Date: Thu, 13 Dec 2012 16:37:48 +0100 From: "Eduardo Chappa" Message-ID: <20121213153749.139670@gmx.com> MIME-Version: 1.0 Subject: Openssl program not compiling To: cygwin AT cygwin DOT com x-registered: 0 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hello,  I am trying to understand why a program that used to compile before, now it does not. I can make the program compile if I switch the order of the #include directives. Here is a minimal example: file: success.c #include #include #include int main(int argc, char *argv[]) { return 0; } The previous program builds with the command > gcc success.c However, switching the order of the second and third #include directives, produces the following program file: fail.c #include #include #include int main(int argc, char *argv[]) { return 0; } In this case, the program is compiled using the command > gcc fail.c and it fails with the following error: In file included from /usr/include/openssl/crypto.h:131:0,                 from /usr/include/openssl/bio.h:69,                 from a.c:3: /usr/include/openssl/ossl_typ.h:153:29: error: expected ‘)’ before numeric constant /usr/include/openssl/ossl_typ.h:199:33: error: expected ‘)’ before numeric constant This used to work in the past, there was no need to switch the order, but it fails now. Why? Thank you for your help. -- Eduardo -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple