On 19/04/2010, at 9:18 PM, Török Edwin wrote: > On 2010-04-19 14:17, James Brown wrote: >> >> On 19/04/2010, at 9:09 PM, Török Edwin wrote: >> >>> Does this compile correctly: >>> $ cat >test.c <<EOF >>> int main() >>> { >>> float x = __builtin_huge_valf(); >>> return >>> } >>> EOF >>> $ gcc test.c >> >> No. >> >> I get: >> >> test.c: In function 'main': >> test.c:5: error: parse error before '}' token > > Try this: > $ cat >test.c <<EOF > int main() > { > float x = __builtin_huge_valf(); > return 0; > } > EOF > $ gcc test.c
Yes, no errors there. James. _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml