------- Comment #2 from ebassi at gmail dot com 2010-04-06 14:36 ------- sweet, thanks.
just FYI, I tested it using: $ cat test-deprecated.c #include <stdio.h> int foo (void) __attribute__((deprecated("Use bar() instead"))); int bar (void); int main (int argc, char *argv[]) { printf ("foo: %d\n", foo ()); printf ("bar: %d\n", bar ()); return 0; } int foo (void) { return 42; } int bar (void) { return 47; } $ gcc -Wall -o test-deprecated test-deprecated.c test-deprecated.c:3: error: wrong number of arguments specified for deprecated attribute my gcc is: $ gcc --version gcc (GCC) 4.4.3 20100127 (Red Hat 4.4.3-4) thanks again for the quick reply. :-) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43666