[GRASS-git] [OSGeo/grass] 9712ca: ctypesgen: Add /Zc:preprocessor flag for MSVC comp...

Dung Ho noreply at github.com
Fri Sep 19 14:15:02 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 9712ca5c6c7e6d0b4e4dd2c8e58570c92774332c
      https://github.com/OSGeo/grass/commit/9712ca5c6c7e6d0b4e4dd2c8e58570c92774332c
  Author: Dung Ho <htdung820 at gmail.com>
  Date:   2025-09-19 (Fri, 19 Sep 2025)

  Changed paths:
    M python/libgrass_interface_generator/ctypesgen/parser/preprocessor.py

  Log Message:
  -----------
  ctypesgen: Add /Zc:preprocessor flag for MSVC compiler in ctypesgen preprocessor (#6371)

* Add /Zc:preprocessor flag for MSVC compiler in ctypesgen preprocessor

This change enables the new conforming preprocessor in MSVC which improves
C++ standard compliance and better handling of preprocessor directives.

* Use a dash (documented for MSVC) to be consistent

* Add a comment

---------

Co-authored-by: Huidae Cho <grass4u at gmail.com>



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list