diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-09-16 07:34:32 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-09-16 07:34:32 -0700 |
commit | d041d90629f26b071fb71bebda785eb0b262f806 (patch) | |
tree | 2009abf956bf44714edbf6c9e89d8fdd457e12c7 /struct.h | |
parent | 60fa0cd314d283c99af60a650ba4f6c04ee1870a (diff) | |
download | txr-d041d90629f26b071fb71bebda785eb0b262f806.tar.gz txr-d041d90629f26b071fb71bebda785eb0b262f806.tar.bz2 txr-d041d90629f26b071fb71bebda785eb0b262f806.zip |
nan-boxing: build on older gcc.
Older GCC 4.x versions do not support diagnostic pragmas
in functions and don't have push pragmas for diagnostics.
* arith.c (flo): Put the diagnostic disabling pragma stuff
outside of the function. Instead saving and restoring
the status with push and pop, we just disable the aliasing
warning and re-instate it as a warning.
* lib.h (c_f): Likewise.
Diffstat (limited to 'struct.h')
0 files changed, 0 insertions, 0 deletions