Skip to content

Commit

Permalink
Disable new SWIG string helper functions (#1145)
Browse files Browse the repository at this point in the history
  • Loading branch information
a-maurice authored Nov 14, 2024
1 parent 44cd79b commit 51fca74
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/firebase_swig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@ macro(firebase_swig_add_library name)
# https://github.com/swig/swig/issues/672#issuecomment-400577864
final=
USE_EXPORT_FIX
# SWIG 4.3 added a C# class, SWIGStringWithLengthHelper, but is missing
# the corresponding C++ symbols, which can cause issues. We don't
# rely on this class anyway, so just disable it.
SWIG_CSHARP_NO_STRING_WITH_LENGTH_HELPER
)

set_property(TARGET ${name} PROPERTY SWIG_GENERATED_COMPILE_DEFINITIONS
Expand Down
5 changes: 5 additions & 0 deletions docs/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ Support

Release Notes
-------------
### Upcoming
- Changes
- General: Remove unresolved SWIG string symbols.
([#1139](https://github.com/firebase/firebase-unity-sdk/issues/1139)).

### 12.4.0
- Changes
- General: Update to Firebase C++ SDK version 12.4.0.
Expand Down

0 comments on commit 51fca74

Please sign in to comment.