excpt.h error

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

When I build my project I get an error in the excpt.h header file. The
build error tells me that there is a missing ';' before 'string' at the line
in excpt.h that reads

extern "C" {

Is this library file included for exception handling? I'm just trying to
set up a simple program to experiment with file and directory handling with
VC++.NET and used a try/catch block for the file read.

Any help would be appreciated. Thanks.

Dave Scott
 
I was interested in the last line of the previous include file, not the previous line in the same include file.

Try the following. Add "int i;" before the "include excpt.h". See if the error moves to this new line. If it does, there is
probably a missing ';' in the previous include file.
 
Back
Top