#1 Compile error: Function 'exit' not declared

closed-fixed
None
5
2009-06-03
2006-06-23
Anonymous
No

I get the following compile error:

--
> make
g++ -c -O -Wall -I../exim-4.62/src bagley-check.cxx
bagley-check.cxx: In function 'int main(int, char**)':
bagley-check.cxx:57: error: 'exit' was not declared in
this scope
bagley-check.cxx:68: error: 'exit' was not declared in
this scope
bagley-check.cxx:81: error: 'exit' was not declared in
this scope
make: *** [bagley-check.o] Error 1
--

Discussion

  • Nobody/Anonymous

    Logged In: NO

    same here , is this prjoect dead ??

     
  • William Blunn

    William Blunn - 2006-11-10
    • assigned_to: nobody --> bonebill
     
  • Nobody/Anonymous

    Logged In: NO

    bagley-check.cxx requires the prototype for exit()
    #include <stdlib.h>

     
  • William Blunn

    William Blunn - 2008-03-18

    Logged In: YES
    user_id=1036531
    Originator: NO

    I believe this issue was fixed Tue Sep 28 21:16:08 2004.

    The change was checked in to CVS but no official release was ever made.

    At the present time, the CVS head contains only compile fixes over and above 0.02.

     
  • Nobody/Anonymous

    add:

    #include <stdlib.h>

    in bagley-check.cxx

     
  • William Blunn

    William Blunn - 2009-06-02
    • summary: compile error --> Compile error: Function 'exit' not declared
    • status: open --> open-accepted
     
  • William Blunn

    William Blunn - 2009-06-02

    Fixed in CVS

     
  • William Blunn

    William Blunn - 2009-06-03

    Fixed in CVS as of bagley-check.cxx CVS v1.2

     
  • William Blunn

    William Blunn - 2009-06-03
    • status: open-accepted --> closed-fixed
     
  • William Blunn

    William Blunn - 2009-06-03

    Fixed in release 0.03

     

Log in to post a comment.