NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Cygwin & MSSQL

 
Post new topic   Reply to topic    NetBeans Forums -> C/C++ Users
View previous topic :: View next topic  
Author Message
LucioF



Joined: 07 Nov 2017
Posts: 1

PostPosted: Tue Nov 14, 2017 6:54 pm    Post subject: Cygwin & MSSQL Reply with quote

Hi Guys,

I try to build a test example from freetds in order to deal with MSSQL.

The environment is Windows 7 , NetBeans 8.2 32 bit , Cygwin 32 bit and freetds lib and src.

The src from freetds contains some code example to deal with MSSQL.

When I try to build the code, I have this error:

/cygdrive/C/cygwin/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw_stdarg.h:11:2: error: #error Only Win32 target is supported!
#error Only Win32 target is supported!

If I try to build the code without #include <stdarg.h> , the error is:

/cygdrive/C/cygwin/usr/i686-w64-mingw32/sys-root/mingw/include/stddef.h:18:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern'
_CRTIMP extern int *__cdecl _errno(void);

Thanks in advance!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> C/C++ Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo