Skip to content

Fix macOS compilation error by using c++ stdlib instead of stdc++#3

Draft
milindsrivastava1997 wants to merge 1 commit intomainfrom
claude/fix-stdc-mac-compile-011CUrm7izYENcXwiFbe7voo
Draft

Fix macOS compilation error by using c++ stdlib instead of stdc++#3
milindsrivastava1997 wants to merge 1 commit intomainfrom
claude/fix-stdc-mac-compile-011CUrm7izYENcXwiFbe7voo

Conversation

@milindsrivastava1997
Copy link
Copy Markdown

On macOS, the C++ standard library is named 'c++' rather than 'stdc++'. This change detects the target platform and uses the appropriate library name:

  • macOS: c++
  • Other platforms: stdc++

Fixes the "stdc++ not found" compilation error on macOS.

On macOS, the C++ standard library is named 'c++' rather than 'stdc++'.
This change detects the target platform and uses the appropriate library name:
- macOS: c++
- Other platforms: stdc++

Fixes the "stdc++ not found" compilation error on macOS.
@milindsrivastava1997 milindsrivastava1997 marked this pull request as draft November 6, 2025 14:06
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