Error Messages

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

 



Hi!

I want that when a user in C code tries to define any type other 
then "int" to abort the compilation and print an error message.

For example:

int test(int);
int test(int i)
{
	float b;
}

the test function will crush upon compilation and output something like:
"Trying to define/use unallowed type in test finction in x.c file: 238"

Regards,

    Liza

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux