Libiberty functions

Paulo J. Matos pocm@soton.ac.uk
Thu Mar 8 11:46:00 GMT 2007


Hello all,

when using functions from libiberty, I'm for example using xstrdup and
xmalloc but free is not defined as free or xfree afail nor strlen so
how should I include things? Before system.h and then standard libs or
the other way around?

I am almost sure it should be the other way around but I would like
confirmation on this.

Cheers,

-- 
Paulo Jorge Matos - pocm at soton.ac.uk
http://www.personal.soton.ac.uk/pocm
PhD Student @ ECS
University of Southampton, UK



More information about the Gcc mailing list