Assignment makes pointer from integer without a cast

Robert Dewar dewar@gnat.com
Wed Mar 20 06:12:00 GMT 2002


>What do I have to do?!

Remove this undefined cast from your code!

You are assuming that you can take some arbitrary integer and treat
it as an address. As the bus error shows, this does not work on machines
that take alignment seriously!



More information about the Gcc mailing list