Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

Gcc warns about breaking strict aliasing. #1245

Closed
blattms opened this issue Sep 28, 2016 · 1 comment
Closed

Gcc warns about breaking strict aliasing. #1245

blattms opened this issue Sep 28, 2016 · 1 comment
Labels

Comments

@blattms
Copy link
Contributor

blattms commented Sep 28, 2016

/home/mblatt/DUNE/ert/libecl/src/ecl_kw.c:1315:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
         size = *( (int *) &buffer[ECL_STRING_LENGTH] );
@pgdr pgdr added the bug label Oct 11, 2016
@pgdr
Copy link
Contributor

pgdr commented Apr 12, 2017

I believe that this is fixed, but in any case, please reopen it at Statoil/libecl if you still have this issue.

@pgdr pgdr closed this as completed Apr 12, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants