Re: converting function pointers to/from object pointers

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

 



On 24 August 2015 at 15:49, Josef Wolf wrote:
> Hello experts,
>
> I have some old code, which worked fine with old GCC releases, but
> fails with current GCC.
>
> With current GCC, I get a warning:
>
>     "ISO C forbids conversion of function pointer to object pointer type [-Wpedantic]"
>
> and the system crashes.

That warning is not likely to be the reason it crashes.

You should look at *where* it crashes, and *why*. Is it dereferencing
an invalid pointer? Is there a misaligned access?



[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