add -fno-strict-aliasing for more architectures in R3.16 src/ca/legacy Makefiles
Bug #1702254 reported by
Dirk Zimoch
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
EPICS Base | Status tracked in 7.0 | |||||
3.16 |
Fix Released
|
Undecided
|
Andrew Johnson | |||
7.0 |
Fix Released
|
Undecided
|
Andrew Johnson |
Bug Description
In addition to the existing
USR_CXXFLAGS_Linux = -fno-strict-
USR_CXXFLAGS_RTEMS = -fno-strict-
add this line to src/ca/
USR_CXXFLAGS_
Add all three lines to src/ca/
The vxWorks 6 compilers between 6.2 and 6.7 all print warnings about broken strict aliasing rules and all understand that flag. The vxWorks 5 compiler does not understand the flag but 3.16 does not build with vxWorks 5 anyway.
To post a comment you must log in.
Committing the fix as described to base-3.16.
In EPICS 7 the gdd and pcas sources have been unbundled into a separate module.
@Ralph do you want to test your method for pulling bug-fixes from Base into the new module?