Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com X-WM-Posted-At: webmail4.forum.dk; Sun, 31 Oct 99 15:06:11 +0100 Date: Sun, 31 Oct 1999 15:06:11 +0100 From: "Michael P." To: cygwin AT sourceware DOT cygnus DOT com X-EXP32-SerialNo: 00002117 Subject: parse error ? Am I the only one? Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: WebMail (Hydra) SMTP v3.51 RC3 Message-Id: <19991031140735.D53BFEC07F@forum.dk> Hi all! I have been compiling a test program for the C/FRONT interface to Navision Financials. The code works fine when using both the MS Visual C++ and the LCC-compiler. But when trying to compile using egcs or cygwin, I get a parse error in some typedef statements. What am I doing wrong? This is the code causing the error: // Start #ifdef _MSC_VER #define DBL_CDECL __cdecl #else #define DBL_CDECL _cdecl #endif typedef void (DBL_CDECL *DBL_pFuncExceptionHandler)(DBL_S32 ErrorCode, DBL_BOOL IsFatal); typedef void (DBL_CDECL *DBL_pFuncMessageShowHandler)(DBL_U8* Message, DBL_U32 MessageType, DBL_S32 ErrorCode); // End It would be a great help to me, if someone could help me. I prefer using the egcs or cygwin. Regards Michael P. Student -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com