c++/6626: __attribute__ doen not works with function pointers

Wolfgang Bangerth bangerth@ticam.utexas.edu
Tue Oct 22 09:48:00 GMT 2002


Given this message
  http://gcc.gnu.org/ml/gcc-bugs/2002-10/msg00809.html
shouldn't this report be closed as a user/syntax error?

Although I must agree that the error message
  invalid conversion from `void (*)(int*)' to `void (*)(int*)'
is not exactly enlightening... (The two function pointers have different 
attributes, which are not represented in the error message.)

Regards
  Wolfgang

-------------------------------------------------------------------------
Wolfgang Bangerth              email:           bangerth@ticam.utexas.edu
                               www: http://www.ticam.utexas.edu/~bangerth




More information about the Gcc-bugs mailing list