1 |
On Sunday April 30 2006 16:50, David Morgan wrote: |
2 |
> On 02:04 Mon 01 May , Farhan Ahmed wrote: |
3 |
> > Jeff Rollin wrote: |
4 |
> > > I didn't say DG_DISABLE_DEBUG was a USE flag, I said it was a CFLAG. |
5 |
> > > And it improves the speed of KDE applications too |
6 |
> > |
7 |
> > Read your earlier post.. Anyway where is this CFLAGS 'DG_DISABLE_DEBUG' |
8 |
> > documented? I cant find any reference to it in man gcc. No usable |
9 |
> > results came up when i googled it.. |
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 |
Interesting... I'm still a little bit paranoid about adding this to make.conf, |
42 |
though. Can anybody think of a reason why I wouldn't want to add it? |
43 |
|
44 |
-- |
45 |
This is The Slash, signing off **click** |
46 |
|
47 |
Registered Linux user #386739 |
48 |
|
49 |
Finger me (the_slash) for my public key (and my geek code, as well). |
50 |
If you can't find my ip address, I'm usually on irc@××××××××.net. |