aCC exit error

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers aCC exit error
# 1  
Old 06-06-2011
aCC exit error

Hi guys
I would just like to know if aCC supports the command exit(0); in c++?
I am always getting the error below:

Error 328: "ac5.C", line 37 # Function 'exit' has not been defined yet; cannot call.

Anyone had this problem?


Last edited by pludi; 06-06-2011 at 07:08 PM..
# 2  
Old 06-06-2011
Did you #include <stdlib.h>?
# 3  
Old 06-06-2011
forgot that one
that did it!
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Programming

aCC Compile error message

my C++ Compiler is ACC version aCC: HP ANSI C++ B3910B A.03.85 OS Version B.11.11 this my program error message I don't know what error it is aCC -g -DHPUX -DCHT_DEBUG -DNOSTD -c CProcess.cpp Error 181: "CProcess.cpp", line 83 # Expected 0 argument(s) for "void... (1 Reply)
Discussion started by: alert0919
1 Replies

2. Linux

tar error exit delayed form pervious error

Hi when use "tar cpvzf /dev/st0 --exclude=/proc --exclude-/lost+found --exclude=/mnt --exclude=/media --exclude=/sys /" to tape, get the following message "tar: error exit delayed form pervious error", What is the mean ? Please suggest some solution for these errors. thx (1 Reply)
Discussion started by: chayato
1 Replies

3. HP-UX

Where to find the aCC 6.0.5

All, I'm filling in for the HPUX guy here (I'm AIX), and a client needs the 6.0.5 aCC compiler loaded up on an IA64 system. Where can I find the installs? Are they someplace on the system cd's? Thanks in advance for your help. Shawn (1 Reply)
Discussion started by: ZekesGarage
1 Replies

4. HP-UX

aCC compiler help

hello, i'm now working on a traduction of a makefile from HP_UX environnement to IBM_AIX environnement, so , first of all i need help about aCC compiler and the meaning of each option of compilation, and if possible its equivalent in AIX it's urgent, any help will be highly appreciated (0 Replies)
Discussion started by: kingmastersimo
0 Replies

5. HP-UX

ACC Compiler

Hi, Can anybody guide as to whether the aCC compiler for RISC (9000/785) be used with ia64 processor? (2 Replies)
Discussion started by: slash_blog
2 Replies

6. HP-UX

fstream - detach in aCC

How to use detach function for aCC. Error 187: "/cc/smc3/root/development/auto_activation/AARS/src/ResultServer.cpp", line 623 # Referenced object 'detach' is not a member of class basic_ofstream<char,std::char_traits<char> > . READ_TOKEN(tmp) (0 Replies)
Discussion started by: onlyforforum
0 Replies

7. HP-UX

aCC compiler error - Redefined symbols

I got this error while compiling in aCC compiler. Error 173: "/opt/aCC/include_std/limits", line 694 # Redefined symbol 'numeric_limits<int>'; previously defined at . _RWSTD_SPECIALIZE_LIMITS (bool, int, _RWSTD_BOOL) ^^^^^^^^^^^^^^^^^^^^^^^^ Error... (2 Replies)
Discussion started by: onlyforforum
2 Replies

8. HP-UX

Installing aCC++

- I ran the command: swinstall -p -v -s /home/garybowd/aCC-11.11-3.55ws.depot - I selected the S800 Package (I also tried this with the S700, but i'm pretty sure our server is S800) - I selected install, and these are the errors i got: ERROR: Exclude ... (1 Reply)
Discussion started by: gbowdridge
1 Replies

9. UNIX for Dummies Questions & Answers

Differences gcc <-> aCC

Hi all! I'm working on a HP UX 11 machine. I have an executable build with gcc and a shared library (sl) build with aCC. If i start the executable, i have many errors about unresolved symbols. Is the binary output of aCC and gcc compatible? Greetings! (8 Replies)
Discussion started by: coredump2003
8 Replies
Login or Register to Ask a Question