mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1229855: Fix miscompilation of uint8_t enum class with gcc4.8.2; r=luke
This commit is contained in:
parent
c3f328b7bb
commit
4582469571
@ -34,7 +34,9 @@ using mozilla::Move;
|
||||
// The ValType enum represents the WebAssembly "value type", which are used to
|
||||
// specify the type of locals and parameters.
|
||||
|
||||
enum class ValType : uint8_t
|
||||
// FIXME: uint8_t would make more sense for the underlying storage class, but
|
||||
// causes miscompilations in GCC (fixed in 4.8.5 and 4.9.3).
|
||||
enum class ValType
|
||||
{
|
||||
I32,
|
||||
I64,
|
||||
|
Loading…
Reference in New Issue
Block a user