swig / cccl

Unix cc compiler to Microsoft's cl compiler wrapper
GNU General Public License v3.0
123 stars 36 forks source link

Improve handling of -std options #17

Open ojwb opened 2 years ago

ojwb commented 2 years ago

Special-case options for older standards which MSVC doesn't support restricting to.

This is attempting to address issues noted in https://github.com/swig/swig/pull/2329.

Note: I've checked that the syntax is valid with bash -n and testing running the script with --cccl-verbose and various --std options to check they get mapped as intended, but I've not attempted to test with MSVC as I don't use Microsoft Windows.