Skip to content

Conversation

@jef-n
Copy link
Member

@jef-n jef-n commented Jan 4, 2026

switched osgeo4w nightly to unity builds, because #64395 broke it - but server fails in a unity build

@github-actions github-actions bot added this to the 4.0.0 milestone Jan 4, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Jan 4, 2026

🪟 Windows Qt6 builds

Download Windows Qt6 builds of this PR for testing.
(Built from commit 93834db)

🍎 MacOS Qt6 builds

Download MacOS Qt6 builds of this PR for testing.
This installer is not signed, control+click > open the app to avoid the warning
(Built from commit 93834db)

target_precompile_headers(qgis_server PRIVATE $<$<COMPILE_LANGUAGE:CXX>:${CMAKE_SOURCE_DIR}/src/core/qgis.h>)
endif()

if(NOT MSVC)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jef-n could you add a comment why this is disabled for MSVC (error message or at least a reference to OSGEO4W)?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if(NOT MSVC)
if(NOT MSVC) # error C2664: 'wint_t ungetwc(wint_t,FILE *)': cannot convert argument 2 from 'FCGI_FILE *' to 'FILE *' https://cdash.orfeo-toolbox.org/viewBuildError.php?buildid=37453

jef-n added a commit to jef-n/OSGeo4W that referenced this pull request Jan 5, 2026
@jef-n jef-n force-pushed the msvc-disable-unity-build-of-server branch from d541a06 to 93834db Compare January 5, 2026 17:13
jef-n added a commit to jef-n/OSGeo4W that referenced this pull request Jan 5, 2026
This reverts commit 507376a with
upstreamed patch.
@jef-n jef-n merged commit 2e8ade7 into qgis:master Jan 6, 2026
28 checks passed
@jef-n jef-n deleted the msvc-disable-unity-build-of-server branch January 6, 2026 17:07
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