./m_config.h:48:3: error: requested alignment is not an integer constant
In file included from libmpdemux/aviheader.h:26:0,
from libmpdemux/stheader.h:23,
from command.c:31:
参考补丁文件1
Index: MPlayer-1.5/m_config.h
===================================================================
--- MPlayer-1.5.orig/m_config.h
+++ MPlayer-1.5/m_config.h
@@ -45,7 +45,7 @@ struct m_config_save_slot {
int lvl;
// We have to store other datatypes in this as well,
// so make sure we get properly aligned addresses.
- DECLARE_ALIGNED(8, unsigned char, data)[0];
+ unsigned char data[0];
};
/// Config option