Gorka Olaizola wrote:
> On Thu, Feb 16, 2006 at 10:59:21AM +0100, Dirk Meyer wrote:
>>
>> I don't have gcc 4.0, it must be a new warning
>>
> At least it seems not to affect the compilation. If I have time at night
> I'll make a patch for fixing the warnings.
>
>> | for i in includes:
>> | f.write('#include %s\n' % i)
>> | f.write('void main() { ' + code + '};')
>> | result = f.close()
>>
>> Again, looks perfect to me. The main function is there. Maybe main
>> should be 'int main(int argc, char** argv)'?
>>
> The problem is some lines upper.
>
> I use dash as Posix compatible shell. It seems that it does not like the
> output redirect construction
>
> "cc -x c - -o %s %s &>/dev/null"
>
> Changed to "cc -x c - -o %s %s 2>/dev/null >/dev/null" it compiles well
Is it me or is the change only "2>/dev/null"? That would make the
warnings go away but should not fix any problem. I like to see
warnings to fix the bug. :)
Dischi
--
Real Men don't make backups. They upload it via ftp and let the world
mirror it.
-- Linus Torvalds
pgpqew8oR73fm.pgp
Description: PGP signature
