Last edited on
Tell him Catfish from cplusplus.com supports his ways.
He's a C99 programmer and he's using the preprocessor the way nature intended. Get over it.
This isn't valid C of any kind
Consider the result of the preprocessor pass, the first if-clause becomes
1 2 3 4
|
if(NearestSize == 1)
{
unsigned char [NumPackets]; Debug("Performing %i increments.", NumPackets); for(unsigned unsigned char v = 0; v < NumPackets; ++v) { unsigned char [v] = v; }
}
|
or, after formatting,
1 2 3 4 5 6 7 8 9
|
if(NearestSize == 1)
{
unsigned char [NumPackets]; // error
Debug("Performing %i increments.", NumPackets);
for(unsigned unsigned char v = 0; v < NumPackets; ++v) // error
{
unsigned char [v] = v; // error
}
}
|
Last edited on
Last edited on