Jump to content
  • Advertisement
Sign in to follow this  
PeteGallo

can you compile C with (VS C++ 2005 beta 2

This topic is 4849 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i am tring to compile a .cpp file wrighten in C with Visual Studio C++ 2005 Express Beta 2. and i came up with 153 syntax errors:
------ Build started: Project: quiksort, Configuration: Debug Win32 ------
Compiling...
quiksort.cpp
c:\program files\microsoft platform sdk\include\wincon.h(240) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(240) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(249) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(249) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(249) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(264) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(264) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(264) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(273) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(273) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(273) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(288) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(288) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(288) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(297) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(297) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(297) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(312) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(312) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(312) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(322) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(322) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(322) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(338) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(338) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(338) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(348) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(348) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(348) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(364) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(364) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(364) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(374) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(374) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(374) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(390) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(390) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(390) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(401) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(401) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(401) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(411) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(411) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(411) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(427) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(427) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(427) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(438) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(438) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(438) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(448) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(448) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(448) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(464) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(464) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(464) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(475) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(475) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(475) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(483) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(483) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(483) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(491) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(491) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(491) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(499) : error C2146: syntax error : missing ';' before identifier 'COORD'
c:\program files\microsoft platform sdk\include\wincon.h(499) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(499) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(506) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(506) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(506) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(542) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(542) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(542) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(549) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(549) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(549) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(557) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(557) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(557) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(564) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(564) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(564) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(571) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(571) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(571) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(579) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(579) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(579) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(587) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(587) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(587) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(595) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(595) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(595) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(605) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(605) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(605) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(621) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(621) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(621) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(630) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(630) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(630) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(638) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(638) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(638) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(646) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(646) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(646) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(654) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(654) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(654) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(659) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(659) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(659) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(675) : error C2146: syntax error : missing ';' before identifier 'DWORD'
c:\program files\microsoft platform sdk\include\wincon.h(675) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(675) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(682) : error C2146: syntax error : missing ';' before identifier 'DWORD'
c:\program files\microsoft platform sdk\include\wincon.h(682) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(682) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(695) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(695) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(695) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(701) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(701) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(701) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(713) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(713) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(713) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(723) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(723) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(723) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(739) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(739) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(739) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(749) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(749) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(749) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(767) : error C2146: syntax error : missing ';' before identifier 'HANDLE'
c:\program files\microsoft platform sdk\include\wincon.h(767) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(767) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(771) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(771) : error C2143: syntax error : missing ',' before '*'
c:\program files\microsoft platform sdk\include\wincon.h(778) : error C2146: syntax error : missing ';' before identifier 'UINT'
c:\program files\microsoft platform sdk\include\wincon.h(778) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(778) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(783) : error C2146: syntax error : missing ';' before identifier 'BOOL'
c:\program files\microsoft platform sdk\include\wincon.h(783) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft platform sdk\include\wincon.h(783) : error C2086: 'int WINBASEAPI' : redefinition
        c:\program files\microsoft platform sdk\include\wincon.h(239) : see declaration of 'WINBASEAPI'
c:\program files\microsoft platform sdk\include\wincon.h(790) : error C2146: syntax error : missing ';' before identifier 'UINT'
c:\program files\microsoft platform sdk\include\wincon.h(790) : fatal error C1003: error count exceeds 100; stopping compilation
Build log was saved at "file://c:\Documents and Settings\Peter Gallo\My Documents\Visual Studio 2005\Projects\quiksort\quiksort\Debug\BuildLog.htm"
quiksort - 153 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped =========
can i change my project to a C project with VS C++ 2005 Beta? Thank You Pete Gallo

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by PeteGallo
i am tring to compile a .cpp file wrighten in C
with Visual Studio C++ 2005 Express Beta 2.


I find that VC++ 2005 is very picky in general.

Try changing the file extension to .c, I'd put money on VC++ expecting to find C++ in a .cpp file, finding something different, and throwing the toys out of the pram as it were.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!