[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] problems with gcc 3.0 & lvm tools



Michael Tokarev <mjt tls msk ru> writes:

> Gergely Tamas wrote:
> > 
> > GCC 3.0 implements ``printf'' as a macro.
> 
> Why *gcc* *implements* printf at all???  It is in
> C library, not in compiler, or always was that.

glibc defines printf() as fprintf(stdout, ...) macro when it detects
compiler >= 2.97 (because gcc can optimize fprintf()), so it's not gcc
problem.

> But wait: *if* this *is* an issue, then TONS of other programs
> will break the same way.  And gcc people should just not do so,
> is is a bug (serious) in gcc in this case and should be fixed
> in a first place.

http://sources.redhat.com/ml/libc-alpha/2001-01/msg00187.html
http://sources.redhat.com/ml/libc-alpha/2001-01/msg00214.html
and whole thread
http://sources.redhat.com/ml/libc-alpha/2001-01/msg00186.html

>  Michael.

-- 
 Arkadiusz Miśkiewicz, AM2-6BONE, 1024/3DB19BBD
 IPv6 ready PLD Linux at http://www.pld.org.pl/
My jsme Borg. Odpor je marný, budete asimilováni


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]