remove -fno-strict-aliasing from imposed building filags
Open
Common
Reserved
- Dominant language
- C
- Stars
- 1.2k
- Forks
- 383
- Avg merge
- 8d 18h
- Merged PRs (30d)
- 4
Description
media-driver imposes -fno-strict-aliasing, which in reality is hiding things like this:
/vphal_common.c:945:19: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
dwInput = *((uint32_t *) (&fInput));
~^~~~~~~~~~~~~~~~~~~~~~~
Fix errors when this flag is removed from build.
Contributor guide
Assessment
This issue has not been assessed yet.