Sponsored Content
Full Discussion: aCC exit error
Top Forums UNIX for Dummies Questions & Answers aCC exit error Post 302528227 by khestoi on Monday 6th of June 2011 04:51:52 PM
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:

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

Anyone had this problem?

Thanks!

Last edited by pludi; 06-06-2011 at 06:08 PM..
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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

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

7. 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

8. 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

9. 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
SETCAP(8)						      System Manager's Manual							 SETCAP(8)

NAME
setcap - set file capabilities SYNOPSIS
setcap [-q] [-v] (capabilities|-|-r) filename [ ... capabilitiesN fileN ] DESCRIPTION
In the absence of the -v (verify) option setcap sets the capabilities of each specified filename to the capabilities specified. The -v option is used to verify that the specified capabilities are currently associated with the file. The capabilities are specified in the form described in cap_from_text(3). The special capability string, '-', can be used to indicate that capabilities are read from the standard input. In such cases, the capabil- ity set is terminated with a blank line. The special capability string, '-r', is used to remove a capability set from a file. The -q flag is used to make the program less verbose in its output. EXIT CODE
The setcap program will exit with a 0 exit code if successful. On failure, the exit code is 1. SEE ALSO
cap_from_text(3), cap_set_file(3), getcap(8) 24th October 2008 SETCAP(8)
All times are GMT -4. The time now is 09:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy