Djgpp Error Message

This is a discussion on Djgpp Error Message within the C++ Programming forums, part of the General Programming Boards category; I took a project I was working on using Turbo C++ 3.0 and converted it to work with DJGPP. Everything ...

  1. #1
    Registered User
    Join Date
    Dec 2002
    Posts
    2

    Djgpp Error Message

    I took a project I was working on using Turbo C++ 3.0 and converted it to work with DJGPP. Everything seems fine, except for a message I get about an include file I made for the main file.
    Ok, the error message is this:
    /DJGPP/bin/vga/Test_12D.H(8) Error: 76: warning: no newline at end of file
    Here's the contents of the Test_12D.H file:

    extern void Plot12(int X, int Y, char C, char L);
    extern void MPlot12(int X, int Y, char C, char L, int Pixels);
    extern unsigned char Point12(int X, int Y);
    extern void Restore_Bios(void);
    extern void SBox12(int X1, int Y1, int X2, int Y2, char C, char L);
    extern void Line12(int x1, int y1, int x2, int y2, char C, char L);
    extern void Circle12(int xcenter, int ycenter, int radius, char C, char L);
    extern void Sphere12(int xcenter, int ycenter, int radius, char C, char L);

    What's wrong with this? It's just an include file of extern's.

  2. #2
    Programming Sex-God Polymorphic OOP's Avatar
    Join Date
    Nov 2002
    Posts
    1,078
    you don't need to extern function declarations

  3. #3
    Registered User
    Join Date
    Dec 2002
    Posts
    2
    Ok, thanks.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Wav edit programmation for dos with DJGPP
    By sprudhom in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 07-17-2003, 08:35 AM
  2. DJGPP project problems
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 06-08-2002, 08:16 PM
  3. My DJGPP has some serious issues
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 05-26-2002, 12:51 AM
  4. DJGPP assembly syntax ills...
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 11-11-2001, 02:54 AM
  5. DJGPP help needed
    By dune911 in forum C++ Programming
    Replies: 6
    Last Post: 09-15-2001, 05:56 PM

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