VC++ 2005 Error, HELP!

This is a discussion on VC++ 2005 Error, HELP! within the C++ Programming forums, part of the General Programming Boards category; Im using the beta version of VC++ 2005 and I keep getting this build error, but I dont know how ...

  1. #1
    Programmer Frantic-'s Avatar
    Join Date
    Dec 2004
    Posts
    114

    VC++ 2005 Error, HELP!

    Im using the beta version of VC++ 2005 and I keep getting this build error, but I dont know how to fix it!


    c:\Dev-Cpp\include\stdarg.h(6) : fatal error C1021: invalid preprocessor command 'include_next'
    Build log was saved at "file://c:\Documents and Settings\Owner\Desktop\Comp Prog\C++\vc++\test\Debug\BuildLog.htm"

    if it help, here is the source for stdarg.h

    Code:
    /*
     * This is just an RC_INVOKED guard for the real stdarg.h
     * fixincluded in gcc system dir. One day we will delete this file.
     */
    #ifndef RC_INVOKED
    #include_Next<stdarg.h>
    #endif
    Last edited by Frantic-; 01-29-2005 at 08:03 AM.

  2. #2
    UT2004 Addict Kleid-0's Avatar
    Join Date
    Dec 2004
    Posts
    656
    Copy the contents of the "Microsoft SDK\include" folder into the "Microsoft Visual C++ Toolkit 2003\include" to add the missing headers.

  3. #3
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    >>of VC++ 2005
    >>c:\Dev-Cpp\include\stdarg.h

    Perhaps include_next is specific to Dev-C++ or something? It's an "extension" to the language, so perhaps it simply isn't supported by VC.
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. SQL Server 2005 using C
    By dunxton in forum C Programming
    Replies: 0
    Last Post: 02-22-2009, 09:57 PM
  2. Task list in VC 2005
    By VirtualAce in forum Tech Board
    Replies: 0
    Last Post: 05-13-2008, 08:59 PM
  3. If you must port to .NET 2005, read this thread.
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 10-22-2007, 06:51 AM
  4. Warning to all those wishing to port to .NET 2005
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 05-07-2006, 09:29 PM
  5. Really basic string operation
    By bobthebullet990 in forum C Programming
    Replies: 6
    Last Post: 11-28-2005, 04:18 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21