simplecpp icon indicating copy to clipboard operation
simplecpp copied to clipboard

`__cplusplus` not set when `DUI::std` is empty/invalid

Open firewave opened this issue 1 year ago • 2 comments

The __cplusplus macro is not set when the provide DUI::std is either empty or invalid. This might lead to unexpected behavior.

firewave avatar May 06 '24 11:05 firewave

  • if the provided standard is invalid we should bail out
  • if no standard is being provided we should default to the latest

firewave avatar May 06 '24 11:05 firewave

  • if the provided standard is invalid we should bail out

With #312 merged we do not bail out but provide an error via OutputList to indicate that the given standard is unknown.

firewave avatar May 22 '24 09:05 firewave