Michael,
I added the compiler flag as you sugested. I still get the same error.
The Error is:
In file included from C:\Program Files\National Instruments\LabVIEW 8.5\CCodeGen\include\main\ncurses.h:127,
from C:\Documents and Settings\lehman.d\Desktop\Unix Target Test\Unix_Console\Console_Application\unix_console_test.c:34:
/usr/include/unctrl.h:1: error: parse error before '/' token
In file included from C:\Documents and Settings\lehman.d\Desktop\Unix Target Test\Unix_Console\Console_Application\unix_console_test.c:34:
C:\Program Files\National Instruments\LabVIEW 8.5\CCodeGen\include\main\ncurses.h:703: error: parse error before '(' token
C:\Program Files\National Instruments\LabVIEW 8.5\CCodeGen\include\main\ncurses.h:752: error: parse error before '(' token
It seems to have a problem with the syntax in the actual ncurses.h file. ncurses calls the unctrl.h file so I added a copy of that which also seems to have an syntax issue. I'll attach my .h file in case it is any help.
Thanks,
Dave