Forbid SDL integer types in codecheck and remove its use

Bug #1330599 reported by SirVer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Fix Released
Low
Unassigned

Bug Description

SDL defines its own integer types (e.g. Uint32). We have stdint.h though which defines them on a lower level (e.g. uint32_t). We should remove the SDL types from our code base and use stdint.h for everything.

Also, we should add a codecheck rule that forbids them everywhere (we already have one that forbids using them in code that does not include SDL) so that they do not come back.

Related branches

SirVer (sirver)
Changed in widelands:
milestone: none → build19-rc1
GunChleoc (gunchleoc)
Changed in widelands:
assignee: nobody → GunChleoc (gunchleoc)
status: Confirmed → In Progress
SirVer (sirver)
Changed in widelands:
status: In Progress → Fix Committed
GunChleoc (gunchleoc)
Changed in widelands:
assignee: GunChleoc (gunchleoc) → nobody
GunChleoc (gunchleoc)
Changed in widelands:
status: Fix Committed → Fix Released
Revision history for this message
GunChleoc (gunchleoc) wrote :

Fixed in build19-rc1.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.