Thread: VC++ 2005 Error, HELP!

  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 09: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, 10: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, 05:18 PM