Project

General

Profile

Bug #829535

Task #774803: Emscripten clients for web.

Multiple declarations of pOptions_Button

Added by Zoltán Žarkov 10 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Category:
gui-sdl2
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

The usual linkers tolerates this multiple declaration, but wasm-ld rejects it. It appears that this is non-standard. https://en.cppreference.com/w/c/language/extern#Tentative_definitions

History

#2 Updated by Marko Lindqvist 10 months ago

Does sdl-client (S2_6 & S2_5) have identical code?

#3 Updated by Zoltán Žarkov 10 months ago

This patches sdl and sdl2 clients for 2.6. I have not tested if it applies cleanly to 2.5.

#4 Updated by Marko Lindqvist 10 months ago

S2_5 version attached.

#5 Updated by Marko Lindqvist 10 months ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist

Also available in: Atom PDF