PDA

View Full Version : examples from mix-lang version 5,7 don't run


ehsilesa
02-23-2006, 01:30 AM
I can not run the examples ccallf95.c and f95callc.c from lf9557\examples\mix_lang\msvc
of the Lahey 5.7 version.
I am trying to run the batch files, the compiler is visual C++ from visual C++ ( vc98).
I get the following errors:
error C2146 at winnt.h (144), " ; " before identifier "wchar"
error C1004 at winnt.h (144): unexpected end of file found.

I hope some body can help how to fix that bug.

Hugo Siles

Lahey Support
03-20-2006, 11:33 PM
The examples in question work fine with a complete/correct installation of LF95 v5.7 and the Microsoft Visual C compiler.

From the error messages you have provided it looks like your copy of winnt.h is corrupt. Re-install the C compiler.