dotgnu-general
[Top][All Lists]
Advanced

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

Re: [DotGNU]Platform testers wanted


From: Gopal V
Subject: Re: [DotGNU]Platform testers wanted
Date: Tue, 7 Jan 2003 14:17:06 +0530
User-agent: Mutt/1.2.5i

If memory serves me right, Glenn Chambers wrote:
> it treats '-D __SIZE_TYPE__=unsigned int' (note embedded spaces) as 

Hmm... tough bug to crack ... hmm...

cscc/common/cc_main.c : ParseFile(...) 

                for(posn = 0; posn < num_user_defined_symbols; ++posn)
                {
                        CCStringListAdd(&argv, &argc, "-D");
                        CCStringListAdd(&argv, &argc, 
user_defined_symbols[posn]);
                }

Do do we need a CCStringListAddTwo function to combine two arguments ?.

Glenn, could you add something like this to cc_options.c and submit
a patch ? ...

                CCStringListAddTwo(&argv,&argc,"-D",user_defined_symbols[posn]);

This should be able to fix this issue ? ... 

> I was unable to figure out how to induce the C compiler to echo the 
> commands it was running, 

$ cscc -vv 1.c

(very verbose mode :-)

And cscc/c_main.c:65

        CCStringListAdd(&pre_defined_symbols, &num_pre_defined_symbols,
                                        "__SIZE_TYPE__=unsigned int");

should be your other problem... if these are the issues , well good !.

Remember , grep is your friend :-) 

Gopal
-- 
The difference between insanity and genius is measured by success


reply via email to

[Prev in Thread] Current Thread [Next in Thread]