Skip to content

Fix undefined symbol link error in llcorehttp#6021

Open
nibbbl wants to merge 1 commit into
secondlife:developfrom
nibbbl:fix-httpcommon-link
Open

Fix undefined symbol link error in llcorehttp#6021
nibbbl wants to merge 1 commit into
secondlife:developfrom
nibbbl:fix-httpcommon-link

Conversation

@nibbbl

@nibbbl nibbbl commented Jul 18, 2026

Copy link
Copy Markdown

These static consts in HttpStatus were not actually defined --fails with a link error periodically on Xcode 26.6 and maybe some other toolchains.

These static consts in `HttpStatus` were not actually defined, but have
been working by luck --fails on Xcode 26.6 and maybe some other
toolchains?

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes intermittent undefined-symbol linker failures in llcorehttp by providing proper out-of-class definitions for HttpStatus’s static const error-source discriminator members, ensuring the expected symbols are emitted across toolchains (notably newer Xcode).

Changes:

  • Replace mistaken namespace-scope variables with correctly qualified HttpStatus::EXT_CURL_EASY, HttpStatus::EXT_CURL_MULTI, and HttpStatus::LLCORE definitions.
  • Ensure the definitions match the static const declarations in httpcommon.h to satisfy ODR-use/linker requirements.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants