Gentoo Archives: gentoo-user

From: David Morgan <david.morgan@××××××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] why firefox is so slow?
Date: Sun, 30 Apr 2006 20:59:01
Message-Id: 20060430205033.GA29094@sif.wadham.ox.ac.uk
In Reply to: Re: [gentoo-user] why firefox is so slow? by Farhan Ahmed
1 On 02:04 Mon 01 May , Farhan Ahmed wrote:
2 > Jeff Rollin wrote:
3 > > I didn't say DG_DISABLE_DEBUG was a USE flag, I said it was a CFLAG. And it
4 > > improves the speed of KDE applications too
5 >
6 > Read your earlier post.. Anyway where is this CFLAGS 'DG_DISABLE_DEBUG'
7 > documented? I cant find any reference to it in man gcc. No usable
8 > results came up when i googled it..
9 >
10
11 $cat example.c
12 #include <stdio.h>
13
14 #ifdef FISH
15 #define A 1
16 #endif
17
18 int main()
19 {
20 if (A == 1)
21 printf("fish!\n");
22 }
23
24 $ gcc -DFISH example.c -o example
25 $ ./example
26 fish!
27
28 $ gcc example.c -o example
29 example.c: In function ‘main’:
30 example.c:9: error: ‘A’ undeclared (first use in this function)
31 example.c:9: error: (Each undeclared identifier is reported only once
32 example.c:9: error: for each function it appears in.)
33
34 (a fairly contrived example, I know)
35
36 --
37 Join The no2id Coalition, http://www.no2id.net/
38
39 djm
40 --
41 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] why firefox is so slow? The Slash <theslash1337@×××××.com>