Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport release/3.10] Fix build in infback9 on MacOS and unity builds #11627

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

rouault
Copy link
Member

@rouault rouault commented Jan 10, 2025

Backport #11621
Authored by: @rouault

Fixes https://github.com/OSGeo/gdal/actions/runs/12695906104/job/35388828521?pr=11609
```
 In file included from /Users/runner/work/gdal/gdal/frmts/zlib/contrib/infback9/infback9.c:6:
/Users/runner/work/gdal/gdal/frmts/zlib/contrib/infback9/minified_zutil.h:175:11: error: 'OS_CODE' macro redefined [-Werror,-Wmacro-redefined]
[  5%] Building CXX object apps/CMakeFiles/appslib.dir/Unity/unity_3_cxx.cxx.o
  175 | #  define OS_CODE 19
      |           ^
/Users/runner/work/gdal/gdal/frmts/zlib/contrib/infback9/minified_zutil.h:146:11: note: previous definition is here
  146 | #  define OS_CODE  7
      |           ^
```
@rouault rouault added this to the 3.10.2 milestone Jan 10, 2025
@coveralls
Copy link
Collaborator

Coverage Status

coverage: 69.896% (+0.001%) from 69.895%
when pulling 4ef417d on backport-11621-to-release/3.10
into 40949c4 on release/3.10.

@rouault rouault merged commit 3f269c2 into release/3.10 Jan 10, 2025
36 checks passed
@rouault rouault deleted the backport-11621-to-release/3.10 branch January 10, 2025 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants