Skip to contentSkip to conversation

Prohibited attachment type (was 0xdeadbeef)

DISCUSSION Ray Lee 1 participant 1 message Jul 7, 2004

lore
Share & tools
lore

Ray Lee

author
#0 lore raw
Quoted 1 line · tom st denis

It will warn that 0xDEADBEEF is unsigned (which it isn't).

It is. Either read the standard, or read any of my email messages where I quote the thing at you.

Quoted 1 line

Either there is an obscure clause in the C standard

Duuuude. The ANSI C standard is about 40 pages in the back of the K&R second edition. You could read through it in a few hours. If you're writing C code for more than just a pastime, you should do yourself a favor and read it. It's really not all that obscure or hard to understand.

Quoted 2 lines

[I personally don't have a copy of C99 nor do I plan on reading it for this]

Then how about you listen to people who have it, read it, and understand it? Or how about at least believing that gcc is telling you the truth when it warns that 0xdeadbeef is an unsigned constant?

Ray