aCC compiler error - Redefined symbols


 
Thread Tools Search this Thread
Operating Systems HP-UX aCC compiler error - Redefined symbols
# 1  
Old 05-04-2007
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
["/opt/aCC/include_std/limits", line 629].
_RWSTD_SPECIALIZE_LIMITS (bool, int, _RWSTD_BOOL)
^^^^^^^^^^^^^^^^^^^^^^^^
Error 705: "/opt/aCC/include_std/limits", line 694 # A template must be
declared before it can be explicitly specialized.
_RWSTD_SPECIALIZE_LIMITS (bool, int, _RWSTD_BOOL)
^^^^^^^^^^^^^^^^^^^^^^^^
Error 445: "/opt/aCC/include_std/limits", line 694 # Cannot recover from
earlier errors.
_RWSTD_SPECIALIZE_LIMITS (bool, int, _RWSTD_BOOL)
^^^^^^^^^^^^^^^^^^^^^^^^
*** Error code 2

Can any one know the solution
# 2  
Old 05-04-2007
A shot in the dark: try adding -DHAS_BOOL to the aCC command.
# 3  
Old 05-04-2007
I already tried this option, but it doesnt work. Is this option links with any other option.
Do you know any other alternative way.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Subroutine redefined warnings with require keyword

I've been writing a perl script that uses the require keyword. I need to use require for two files, say file a and file b. Here is a general overview of my code: @files = ("a", "b"); foreach $file (@files){ require $file; ... ... } Whenever I run my script, I get subroutine "blah"... (1 Reply)
Discussion started by: chu816
1 Replies

2. UNIX for Dummies Questions & Answers

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. exit(0); ^^^^ Anyone had this problem? Thanks! (2 Replies)
Discussion started by: khestoi
2 Replies

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

4. Programming

How Can a Machine Reads a Compiler Since A Compiler is Written in Text! Not Binaries?

To make a programming language you need a compiler, so what was the first programming language and how was is created if you need the compiler first? The compiler itself is considered as a high language comparing to the machine! since the compiler is not created in 1's and 0's... Eventhough i... (12 Replies)
Discussion started by: f.ben.isaac
12 Replies

5. HP-UX

Impacts on upgrading the aCC compiler in HP-UX

Hi, We are currently using the aCC 3.13 compiler in HP-UX 11.0 but we need to upgrade the aCC compiler version from aCC 3.13 to aCC3.31. 1. Is there any major impact of update the compiler? 2. What are the major things we need to make sure before updating the compiler? Can any one guide... (2 Replies)
Discussion started by: gyanusoni
2 Replies

6. HP-UX

aCC compiler: dramatic drop in .o file sizes?

We've just moved to a new iTanium development system at my place of business, as the previous one is going to be diverted to other uses. Our product uses a locally produced library built from over 2,300 C++ sources. We just noticed that our libraries are 2/3s smaller on the new system than they... (1 Reply)
Discussion started by: Mark F. Cook
1 Replies

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

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

9. HP-UX

acc compiler install question

Hello, New to the board. Experienced solaris admin, unexperienced HP admin. I'm trying to install the acc compiler package B3913DB off of the HP-UX 11.0 application software CD. I have the cd mounted on another system, and nfs mounted as /mnt on the HP-UX box. I don't have a whole lot... (3 Replies)
Discussion started by: tb0ne
3 Replies

10. Solaris

I may have accidentally redefined one of the outputs...

I get unexpected results when doing ls -al | more and ls -al | grep. When I do not pipe the output, it comes to the screen just fine, and there is output! When I pipe to another command, I either get nothing, or else I get a strange dump. Which of the outputs have I accidentally affected?... (2 Replies)
Discussion started by: joang
2 Replies
Login or Register to Ask a Question