// JP opened flex table

Click to See Complete Forum and Search --> : Help! Got Ambushed by the compiler


Joel K
March 20th, 2002, 05:40 PM
I've got two versions of this same project. Both have classes that contain CDaoRecordset processing. I can compile and link one then
when I start the compile on the other, as soon as it hits a class with DAO in it...Boom!. I had been working, and compiling, about 2 hours and suddenly this just started happening. Both projects have the same classes in them, one compiles fine the other I get hundreds of errors from a file I have not touched. I even tried to import one of the classes to the project that complies. It wont comple there either. What is up with this? And how do I cure it? Thx

:\program files\microsoft visual studio\vc98\include\dbdaoint.h(372) : error
C2143: syntax error : missing ')' before 'constant'
c:\program files\microsoft visual studio\vc98\include\dbdaoint.h(372) :
error C2143: syntax error : missing ';' before 'constant'
c:\program files\microsoft visual studio\vc98\include\dbdaoint.h(372) :error
C2059: syntax error : 'constant'
c:\program files\microsoft visual studio\vc98\include\dbdaoint.h(372) :error
C2059: syntax error : ')'
c:\program files\microsoft visual studio\vc98\include\dbdaoint.h(372) :error
C2238: unexpected token(s) preceding ';'
c:\program files\microsoft visual studio\vc98\include\dbdaoint.h(545) :
fatal error C1003: error count exceeds 100; stopping compilation
Generating Code...
Error executing cl.exe.

Sch3.exe - 1734 error(s), 0 warning(s)

NigelQ
March 20th, 2002, 10:17 PM
It sounds like the precompiled header got messed up.

Hit Clean, then rebuild all. That should force a rebuild of the PCH.

Hope this helps,

- Nigel

Joel K
March 21st, 2002, 10:36 AM
NigelQ, Thx for the reply, however, I've "CLEAN"ed it, removed all of the debug files manually and recomplied. That does not work. I finally noticed a strange thing. The CDaoRecordSet classes and CDialog classes would compile in the absence of the dialog resourses. I would then copy the dialog resourses back to the project and it would work. If I make any kind of a change to the CDialog classes who have CDaoRecordSet processing in them. It will not compile and I get all the errors. What else can I try? Thx

//JP added flex table