This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: (970929) reinterpret cast bug


  In message <199710012208.RAA06290@eh_pc11.xraylith.wisc.edu>you write:
  > egcs snapshots don't like casting from "void *" to function pointers 
  > even with the old sledgehammer namely reinterpret_cast; eg., the following 
  > code doesn't work with any of the egcs snapshots (I've checked all the
  > snapshots to date). Does work with 2.7.2*.
You should really avoid this -- on some systems it's not safe (HPPA,
some PPC variants).

Jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]