From: Wes Groleau <wwgrol@ftw.rsc.raytheon.com>
Subject: C question (was: Ada & C)
Date: 2000/01/12
Date: 2000-01-12T00:00:00+00:00 [thread overview]
Message-ID: <387CE6DC.4DFDDFC4@ftw.rsc.raytheon.com> (raw)
In-Reply-To: Pine.BSF.4.21.0001091455020.29083-100000@shell5.ba.best.com
> 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?
next prev parent reply other threads:[~2000-01-12 0:00 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-08 0:00 Ada & C A.J. Werner
2000-01-09 0:00 ` Robert L. Klungle
2000-01-09 0:00 ` Brian Rogoff
2000-01-09 0:00 ` Ehud Lamm
2000-01-09 0:00 ` Brian Rogoff
2000-01-10 0:00 ` Larry Kilgallen
2000-01-12 0:00 ` Wes Groleau [this message]
2000-01-12 0:00 ` C question (was: Ada & C) David Starner
2000-01-12 0:00 ` Ted Dennison
2000-01-13 0:00 ` David Starner
2000-01-13 0:00 ` Ted Dennison
2000-01-14 0:00 ` David Starner
2000-01-16 0:00 ` Keith Thompson
2000-01-18 0:00 ` Ira D. Baxter
2000-01-18 0:00 ` Charles Hixson
2000-01-18 0:00 ` Gautier
2000-01-10 0:00 ` Ada & C tmoran
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox