Thread: warning message

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    66

    warning message

    What does the warning :
    Cannot create pre-compiled header: code in header
    mean and how do I stop this warning from occuring.

    T

    by the way its the Borland turbo c++ 4.5 Compiler
    T

  2. #2
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    post the code, it helps.

  3. #3
    Registered User
    Join Date
    Oct 2001
    Posts
    66
    The code doesn't seem to matter:

    It is part of a larger program. but this gives the exact same message.

    /* Write this in the header file */
    void call_function( void );


    void call_function( void)
    {
    /* Does nothing */
    }



    /* and this in the main program */
    #include "del_head.h"

    int main()
    {
    call_function();
    return 1;
    }
    T

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Strange string behavior
    By jcafaro10 in forum C Programming
    Replies: 2
    Last Post: 04-07-2009, 07:38 PM
  2. File Server Help
    By lautarox in forum C Programming
    Replies: 146
    Last Post: 09-24-2008, 06:32 PM
  3. Need some help...
    By darkconvoy in forum C Programming
    Replies: 32
    Last Post: 04-29-2008, 03:33 PM
  4. Global Variables
    By Taka in forum C Programming
    Replies: 34
    Last Post: 11-02-2007, 03:25 AM
  5. warning message
    By potbelle in forum C Programming
    Replies: 11
    Last Post: 04-03-2002, 10:20 PM