* [9fans] How serious is incomatible type signatures?
@ 2011-02-27 7:28 Fernan Bolando
2011-02-27 15:25 ` Charles Forsyth
0 siblings, 1 reply; 2+ messages in thread
From: Fernan Bolando @ 2011-02-27 7:28 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
I am seeing incompatible type signature errors when compiling f2c.
Removing -T from the compiler option seems to allow me to compile with
no problems. The resulting compiled code seems to run just fine.
sig_die: incompatible type signatures 951b2e20(unix.8) and
bde91c57(../libf2c/libf2c.a8(sig_die)) for exit
fernan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [9fans] How serious is incomatible type signatures?
2011-02-27 7:28 [9fans] How serious is incomatible type signatures? Fernan Bolando
@ 2011-02-27 15:25 ` Charles Forsyth
0 siblings, 0 replies; 2+ messages in thread
From: Charles Forsyth @ 2011-02-27 15:25 UTC (permalink / raw)
To: fernanbolando, 9fans
>Removing -T from the compiler option seems to allow me to compile with
>no problems. The resulting compiled code seems to run just fine.
in many cases, that will be true, for instance because void* and int* are the same
size and interchangeable, and both point to something. (even then, int* and char* aren't compatible,
since they point to things of different size.)
better to fix the types, so that they both match what was intended.
it sounds as though the type of a signal handler is inconsistent.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-27 15:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-27 7:28 [9fans] How serious is incomatible type signatures? Fernan Bolando
2011-02-27 15:25 ` Charles Forsyth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).