Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: Calling HePV - "warning: dereferencing type-punned pointer will break strict-aliasing rules"

by dave_the_m (Monsignor)
on Jul 25, 2018 at 13:27 UTC ( #1219259=note: print w/replies, xml ) Need Help??


in reply to Re^2: Calling HePV - "warning: dereferencing type-punned pointer will break strict-aliasing rules"
in thread Calling HePV - "warning: dereferencing type-punned pointer will break strict-aliasing rules"

This is an external XS module that I am compiling
Yes, but XS modules are normally compiled using a similar set of compiler flags to that used to compile perl itself. Which is why I'm surprised that -fno-strict-aliasing isn't being passed. Compiling XS code without that flag while using perl macros which are intended to be used with that flag, is asking for subtle optimiser bugs to be introduced into your compiled code.

Dave.

  • Comment on Re^3: Calling HePV - "warning: dereferencing type-punned pointer will break strict-aliasing rules"

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1219259]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2019-05-22 09:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (138 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!