View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000720 | OpenMPT | libopenmpt | public | 2015-11-06 11:29 | 2015-11-06 12:06 |
Reporter | wiz | Assigned To | manx | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | x86_64 | OS | NetBSD | OS Version | 7.99.1 |
Product Version | OpenMPT 1.25.03.* (old testing) | ||||
Fixed in Version | OpenMPT 1.25.03.* (old testing) | ||||
Summary | 0000720: libopenmpt-0.2.5705: bswap16 redefinition | ||||
Description | When compiling on NetBSD, there are lots of redefinition warnings for bswap16, like this: In file included from soundlib/../common/FileReader.h:17:0, | ||||
Steps To Reproduce | Compile on NetBSD. | ||||
Additional Information | When I replace, in common/Endianness.h, in this block: #if MPT_COMPILER_GCC "bswap16" with "MPT_bswap16", the warnings go away. | ||||
Tags | No tags attached. | ||||
Attached Files | patch-common_Endianness.h.diff (344 bytes)
$NetBSD$ --- common/Endianness.h.orig 2015-06-13 11:59:24.000000000 +0000 +++ common/Endianness.h @@ -28,7 +28,7 @@ OPENMPT_NAMESPACE_BEGIN #if MPT_COMPILER_GCC #if MPT_GCC_AT_LEAST(4,8,0) -#define bswap16 __builtin_bswap16 +#define MPT_bswap16 __builtin_bswap16 #endif #if MPT_GCC_AT_LEAST(4,3,0) #define MPT_bswap32 __builtin_bswap32 | ||||
Has the bug occurred in previous versions? | |||||
Tested code revision (in case you know it) | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2015-11-06 11:29 | wiz | New Issue | |
2015-11-06 11:29 | wiz | File Added: patch-common_Endianness.h.diff | |
2015-11-06 12:06 | manx | Note Added: 0002169 | |
2015-11-06 12:06 | manx | Status | new => resolved |
2015-11-06 12:06 | manx | Fixed in Version | => OpenMPT 1.25.03.* (old testing) |
2015-11-06 12:06 | manx | Resolution | open => fixed |
2015-11-06 12:06 | manx | Assigned To | => manx |