ANSI C compiler on UNIX


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers ANSI C compiler on UNIX
# 1  
Old 03-14-2005
ANSI C compiler on UNIX

Hi,
I run into an error message like this
(Bundled]) cc: "flat.c", line 350: error 1705: Function prototypes are an ANSI feature.'
Also when trying to compile with -Aa or -Ae options I get
(Bundled) cc:warning 480: The -A option is available only with the C/ANSI C product; ignored.
Is that enough to prove that C compiler is not ANSI compliant? How else can I verify ?

Thanks in advance
# 2  
Old 03-14-2005
That looks like the message that the HP-UX bundled compiler issues. It is K&R, not Ansi. The Ansi C compiler is a separate product. It would be in /opt/ansic/bin if you have it.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

why the implementatoin of Bakery algorithm in ANSI C does not work in ANSI C

I follow the description of wiki (Lamport's bakery algorithm - Wikipedia, the free encyclopedia), then implement that algorithm in C, but it doesn't work, Starving is still here, is the implementation worry? Only print out: Thread ID: 0 START! Thread ID: 0 END! Thread ID: 0 START!... (2 Replies)
Discussion started by: sehang
2 Replies

2. Programming

UNIX Java Compiler on Windows

At work we use HP-UX B.11.11 U (garnished from uname -a), but they have not installed a development environment for java. There is, however, a runtime environment set up. I've been attempting to overcome the beauracracy of getting a jdk installed, but we all know how nearly impossible that can be.... (4 Replies)
Discussion started by: nwboy74
4 Replies

3. UNIX for Dummies Questions & Answers

Munch in Unix compiler

Hi, While compiling C,C++ files in Unix i came across Munch. Need more details on it. Thanks all (6 Replies)
Discussion started by: amutharaj
6 Replies

4. UNIX for Dummies Questions & Answers

File conversion from Unix to ANSI

1. I have a shell script which creates a file using cat command. How can i find what encoding the file follows (e.g. UTF8, ANSI)? 2. I want to convert that file to PC-ANSI format. How can i achieve that? I tried using the echo $LANG command to find the default encoding. It says parameter not... (2 Replies)
Discussion started by: ssmallya
2 Replies

5. Shell Programming and Scripting

Convert file from Unix - ANSI to PC - ANSI

Hi, I am creating a file in Unix using a shell script. The file is getting created in the Unix - ANSI format. My requirement is to convert it to the PC - ANSI format. Can anyone tell me how to do this? Thanks, Sunil (0 Replies)
Discussion started by: ssmallya
0 Replies

6. UNIX for Advanced & Expert Users

how to design compiler for unix os

i have to design a compiler for unix os can anybody help me out to solve this problem (0 Replies)
Discussion started by: masumhisaria
0 Replies

7. Programming

Solaris C Compiler for Unix Enviroment ?

Hello! Can somebody tell my where to find Solaris C compiler for Unix environment? Is it available anywhere on the net for free download ? Thank you for your help! :( (3 Replies)
Discussion started by: krasy
3 Replies

8. HP-UX

ANSI / C Compiler for HP-UX 11.11

Good Day I downloaded Server Evaluation copy of C/ANSI compiler, but when I try to compile a file with it, it gives me following error - (for HP-UX 11.11 v1 PA-RISC) Internal Error: Codeword file /opt/ansic/newconfig/ansic.cwd missing or empty. Detailed Errors are as follows Internal... (3 Replies)
Discussion started by: shawnbishop
3 Replies

9. Programming

Doubts About C Compiler In Unix/linux

As all of you know whenever a program "say a.c" is complied in linux using the gcc or the cc compiler..it shows the list of errors ( if the program contains any).. i want to modify the compier script so as to list the no of errors only and not the description about the error..like" parse error " ... (1 Reply)
Discussion started by: vrs
1 Replies

10. Programming

How to get UNIX and C Compiler

Hi, I have to do a project in UNIX OS using a C/C++ compiler. I'm familiar with C/C++, but only in Windows. I wanted to know: 1. Where can I download a UNIX OS? (I already have a Windows XP on and I don't want to loose it) 2. Where can I download a C/C++ compiler for the UNIX OS? 3. Any tips... (0 Replies)
Discussion started by: ahkonline
0 Replies
Login or Register to Ask a Question