Fatal Error C1070 Mismatched
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up mismatched #if/#endif pair in *.h file up vote 0 down vote favorite Visual Studio C++ 2008 I have the following code in my server.h file. #if defined ( __linux__ ) void* get_info(void*); #elif defined ( _WIN32) void* WINAPI get_info(void*) #endif I keep getting the error: mismatched #if/#endif pair in server.h file The code looks ok to me, I can't understand why I am getting this error? Am I missing something? Many thanks for any advice, visual-c++ share|improve this question asked Mar 6 '10 at 19:42 ant2009 66686242394 2 Could it be the missing semicolon after the function declaration after your elif text part? –dirkgently Mar 6 '10 at 19:47 Nope, wasn't the missing colon, that was were I was too quick to type into the question box. –ant2009 Mar 6 '10 at 19:50 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote accepted Sorry I asked this question. I missed of the #endif at the end of the file for the header file define i.e. #ifndef SERVER_INCLUDED #define SERVER_INCLUDED . . . #endif /* SERVER_INCLUDED */ share|improve this answer answered Mar 6 '10 at 19:49 ant2009 66686242394 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged visual-c++ or ask your own question. asked 6 years ago viewed 3069 times active 6 years ago Related 2fatal error LNK1104: cannot open file 'ATL9ProPS.def'473Why is this program erroneously rejected by three C++ compilers?22afxwin.h file is missing in VC++ Express Edition2Compilation
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up What can I do to fix this error in CUDA programming, fatal C1070: mismatched #if/#endif pair in file? [closed] up vote -2 down vote favorite I http://stackoverflow.com/questions/2393861/mismatched-if-endif-pair-in-h-file get the code from this SITE the example of warp shuffle operation. I compiled it and I got the error like this fatal C1070: mismatched #if/#endif pair in file I am having a hard time to fix this error. Is there anyone who can help me? Any attempt would be highly appreciated. Thank you! HERE IS THE CODE: #ifndef _REDUCE_KERNEL_H_ #define _REDUCE_KERNEL_H_ #include
for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question https://www.experts-exchange.com/questions/20852041/Fatal-Error-C1070-in-Visual-C-6-0.html Ask for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > Fatal Error C1070 in Visual C++ 6.0 Want fatal error to Advertise Here? Solved Fatal Error C1070 in Visual C++ 6.0 Posted on 2004-01-15 Programming Languages-Other 3 Verified Solutions 7 Comments 1,687 Views Last Modified: 2007-12-19 Hello Experts, I have developed a Server types of project using Visual C++ 6.0. But when I am trying to Build or compile it, it fatal error c1070 gives the error as below: Compiling... StdAfx.cpp c:\program files\microsoft visual studio\vc98\include\msxml.h(1422) : fatal error C1070: mismatched #if/#endif pair in file 'c:\program files\microsoft visual studio\vc98\include\msxml.h' Error executing cl.exe. Netmsg.exe - 1 error(s), 0 warning(s) Please let me know about the reason for this error and solution for that. As I am not proficieint in VC. Thank You 0 Question by:Kishan Facebook Twitter LinkedIn Google LVL 23 Best Solution bycookre The original MSXML had lots of problems. Here are some patches: http://msdn.microsoft.com/downloads/default.aspx Go to Solution 5 Comments LVL 23 Overall: Level 23 Programming Languages-Other 5 Message Accepted Solution by:cookre2004-01-15 The original MSXML had lots of problems. Here are some patches: http://msdn.microsoft.com/downloads/default.aspx 0 LVL 15 Overall: Level 15 Programming Languages-Other 2 Message Assisted Solution by:Raisor2004-01-17 Hi, It seems to me that you should check your line endings -> specially for a missing #endif -> in every file where msxml.h is invoked. Best regards, Raisor 0 LV