Re: G_ARRAY_LENGTH for glib.h?
- From: Tim Janik <timj gtk org>
- To: gtk-devel-list redhat com
- Subject: Re: G_ARRAY_LENGTH for glib.h?
- Date: Sat, 22 Jan 2000 00:23:57 +0100 (CET)
On Fri, 21 Jan 2000, Sebastian Wilhelmi wrote:
> Hi Tim,
>
> > that's btw not always true, even with high optimizations turned on,
> > code like
> >
> > if (0)
> > some_func ();
> >
> > will still cause references to some_func() end up in the object file
> > (even for implicit declarations).
>
> I beg to differ.
this is probably compiler version dependant, i did these kinds of tests
about 2 yers ago (and iirc tested the same code with lcc as well), also
have you tried compiling this code with -g?
remeber, gcc is not the only compiler out there ;)
>
> Bye,
> Sebastian
>
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]