PDA

View Full Version : VC ++ 6.0 compilation problem


coconut
10-07-2004, 04:42 AM
Hello,

I have downloaded DXW 1.6 and try to compile it with VC ++ 6.0 but it doesn't work. I have 80 erros on Visual include xiosbase !

d:\prog\vc98\include\xiosbase(106) : error C2146: syntax error : missing ';' before identifier 'precision'
d:\prog\vc98\include\xiosbase(106) : error C2501: 'streamsize' : missing storage-class or type specifiers
etc...

What is the problem ?

Thanks for your help

NeZbiE
10-07-2004, 08:40 AM
Is there a vc project or workspace included, or are you creating the workspace from scratch?

bladder
10-08-2004, 10:55 PM
woops. did not see this post :P

There is a workspace included in the 1.6 distribution. But it's a vc7.0 workspace. It compiles right out of the box with vc7. I havent tried it on vc6 but I do not think I have done anything funcky with the code.

bladder
10-08-2004, 11:04 PM
I have no clue why you are getting errors in that file. Could you goto line 106 in that file and paste a bit of the code you find around that line (maybe give or take a few extra lines)

you can try this (http://www.codeproject.com/tools/prjconverter.asp) vc7 to vc6 project file converter.

coconut
10-11-2004, 01:38 AM
Thanks for your help.
But it doesn't work, I've tried vc7 to vc6 project file converter but I have the same errors as previous when I created a workspace project from scratch !
I'm very disappointed...
The errors are in : INCLUDE\xiosbase.h
The lines are :
streamsize precision() const
{return (_Prec); }

bladder
10-11-2004, 05:47 PM
ok, I really have no idea why you are getting errors in that file? Try doing this:

You know you can right click on a src file and hit compile to compile it individually. Try compiling hte source files individually and make note of which ones fail to compile. Post them here, and that should help further reduce the domain we're working in.