]> rtime.felk.cvut.cz Git - orte.git/commit
Get rid of strict-aliasing warnings
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 10 Sep 2013 01:00:10 +0000 (03:00 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 10 Sep 2013 01:00:10 +0000 (03:00 +0200)
commitebfcedbcc3aee7bb20779ef5b349d21fd25650f7
tree2b74bd67c8b448a87aa569728cfb6b1889a418c0
parent179a8f52897cf8259a48d4b77f0165c7ce1b1403
Get rid of strict-aliasing warnings

The warning in question was:
warning: dereferencing type-punned pointer will break strict-aliasing rules

Now, we use union as parameterLocal to explicitly state that we use
this field to store different types.
orte/include/typedefs.h
orte/liborte/parameter.c