This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fdopen() linker error


On Sat, 2004-09-25 at 10:49, Øyvind Harboe wrote:
> > You need to add the fileio package I think
> > look at the ifdef around fdopen() in
> > language/c/libc/stdio/current/src/common/fopen.cxx
> 
> Ouch, I should have figured that one out.
> 
> Is it the intended behaviour that there is only an error link time and
> not at compile time?

There should be a compile time error if you build with -Wall
Otherwise, C blissfully (cute, huh(1)?) will compile anything
and not complain until you try to link it.

(1) The "C" language was derived from the "B" language which
descended (not directly) from a language called "bliss" :-)

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]