I am having some problems with the C toolkit
when i compile anything it gives a very weird and many errors
these are the errors but they are for watcom so why is that
C:\watcom\h\nt\winerror.h(2232) : warning C4068: unknown pragma
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(141) : warning C4616: #pragma warning : warning number '6059' out of range, must be between '4001' and '4999'
C:\watcom\h\nt\basetsd.h(121) : warning C4068: unknown pragma
edit:
that was onyl a feew, there are over 100 errors
These are not errors, but warnings
. If I have good understood you would like to use M$ Toolkit 2003, right? I think that your problem is that M$ Toolkit 2003 is using include files from OpenWatcom and not its include files. I have had these problem too, the first time I have installed OpenWatcom. In fact, M$ Toolkit 2003 used wrong include files and generated a lot of errors. My solution was very easy
. I have uninstalled OpenWatcom and clean the system path from its presence (and, if I remember, deleted OpenWatcom generated environmental variables). Then all worked fine.
If you want to use both....hmmm...I am not sure. :? Try to check which path OpenWatcom has put in the system path and remove them (but make a security copy if you would like to re-put them :wink:). In C::B, try to move in the first position the include path of M$ Toolkit 2003. Check also the forum for useful posts which may help you to solve your problems.
Michael