[PATCH 0/2] predefine: fix multi-token predefine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The function predefine() and its variants are only valid
if they define a single-token value but predefine_min()
will produce a multi-token value if the type is signed.
    
This series contains a fix and a tescase for this.


Luc Van Oostenryck (2):
  predefine: add testcase for multi-token predefines
  predefine: fix multi-token predefine

 predefine.c                            | 2 +-
 validation/preprocessor/predef-token.c | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)
 create mode 100644 validation/preprocessor/predef-token.c


base-commit: 88c90bb192663bfc2dc54782c316e39e6fe26e1d
-- 
2.27.0




[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux