forked from enlightenment/efl
Don't forget the QUICKLAUNCH guards
Compiling this code with CFLAGS="-ffunction-sections -fdata-sections" and LDFLAGS="-Wl,--as-needed -Wl,--gc-sections -Wl,--print-gc-sections" was giving me the following messages: /usr/bin/ld: Removing unused section '.text._on_key_down' in file 'elementary_testql-test_focus.o' /usr/bin/ld: Removing unused section '.text.my_show' in file 'elementary_testql-test_focus.o' /usr/bin/ld: Removing unused section '.rodata' in file 'elementary_testql-test_focus.o' /usr/bin/ld: Removing unused section '.text.test_focus' in file 'elementary_testql-test_focus.o' The issue was the missing guards. SVN revision: 54600
This commit is contained in:
parent
91b6b4f98e
commit
020605f4a1
|
@ -3,6 +3,7 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
#ifndef ELM_LIB_QUICKLAUNCH
|
||||
|
||||
static void
|
||||
_on_key_down(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *einfo __UNUSED__)
|
||||
|
@ -327,4 +328,4 @@ test_focus(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue