From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4fe319e8a983326a X-Google-Attributes: gid103376,public From: Wes Groleau Subject: C question (was: Ada & C) Date: 2000/01/12 Message-ID: <387CE6DC.4DFDDFC4@ftw.rsc.raytheon.com>#1/1 X-Deja-AN: 571788140 Content-Transfer-Encoding: 7bit References: <3878D189.80E1CCB4@gte.net> X-Accept-Language: en,es,fr,pt Content-Type: text/plain; charset=us-ascii X-Complaints-To: news@icg.raytheon.com X-Trace: bos-service2.ext.raytheon.com 947709663 151.168.144.162 (Wed, 12 Jan 2000 14:41:03 CST) Organization: Raytheon Company MIME-Version: 1.0 NNTP-Posting-Date: Wed, 12 Jan 2000 14:41:03 CST Newsgroups: comp.lang.ada Date: 2000-01-12T00:00:00+00:00 List-Id: > Anyone who knows Ada and not C is likely to have to learn it, and C++ too. > It turns out that in the space of programming languages, Ada and C++ > occupy a very similar position. OK, I started learning it long ago, but I only study when I'm forced to. :-) Anyway, I am trying to build c2ada. I'd like to solve a problem without getting attacked for the folly of wanting to translate C into Ada, so I'm asking here instead of in comp.lang.c :-) What should I do about this: gbmsrv1:/usr/tools/bin/c2ada 259 -> make gcc -g -W -Wimplicit -Wreturn-type -MMD -DDEBUG -DHAVE_CONFIG_H -I/usr/tools/bin/python1.5/Include -I/usr/tools/bin/python1.5 -DPPATH=\":/usr/tools/bin/python1.5/Lib\" -c htype.c -o htype.o In file included from htype.c:6: printf.h:8: warning: No include path in which to find sys/stdtypes.h In file included from htype.c:6: printf.h:11: conflicting types for `fclose' /usr/include/stdio.h:162: previous declaration of `fclose' printf.h:12: conflicting types for `fflush' /usr/include/stdio.h:163: previous declaration of `fflush' printf.h:13: conflicting types for `fprintf' /usr/include/stdio.h:169: previous declaration of `fprintf' printf.h:14: conflicting types for `fputc' /usr/include/stdio.h:185: previous declaration of `fputc' printf.h:15: conflicting types for `fputs' /usr/include/stdio.h:186: previous declaration of `fputs' printf.h:16: conflicting types for `fwrite' /usr/include/stdio.h:195: previous declaration of `fwrite' printf.h:17: conflicting types for `vfprintf' /usr/include/stdio.h:180: previous declaration of `vfprintf' printf.h:18: conflicting types for `fscanf' /usr/include/stdio.h:171: previous declaration of `fscanf' printf.h:23: conflicting types for `printf' /usr/include/stdio.h:173: previous declaration of `printf' printf.h:24: conflicting types for `puts' /usr/include/stdio.h:192: previous declaration of `puts' printf.h:25: conflicting types for `rename' /usr/include/stdio.h:156: previous declaration of `rename' make: *** [htype.o] Error 1 I suppose I need to change an environment variable or a -I somewhere, but how do I figure out where and what to change it to?