Workaround g++ 4.7 compfail
error: C99 designator 'name' outside aggregate initializer G++ 4.7+ can't handle some of C99 designated initializers. Most likely it's just not implemented yet. Other possible workarounds is to compile this as C not C++ or define name as char* instead of char[SIZE]. Appeared after this change https://android-review.googlesource.com/#/c/44470 Change-Id: Ib28157848ce759b8bb5dbb2ac0d9a768fa4e5107 Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
This commit is contained in:
parent
d0f2b7e7e6
commit
20aa6c0f4c
@ -207,7 +207,7 @@ static unsigned gLibDlChains[7] = { 0, 2, 3, 4, 5, 6, 0 };
|
||||
|
||||
// This is used by the dynamic linker. Every process gets these symbols for free.
|
||||
soinfo libdl_info = {
|
||||
name: "libdl.so",
|
||||
"libdl.so",
|
||||
|
||||
phdr: 0, phnum: 0,
|
||||
entry: 0, base: 0, size: 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user