Names of methods cannot begin with "got"
Opened this issue · 0 comments
matejdro commented
If you have any method in program that starts with got (for example gotMessage()), it will not compile.
Here is error I got:
Build failed
Traceback (most recent call last):
File "/media/sf_Pebble/Projects/notificationcenter/.waf-1.7.0-9334f7e963bee5410f4fa28728feffdd/waflib/Task.py", line 123, in process
ret=self.run()
File "/media/sf_Pebble/Projects/notificationcenter/.waf-1.7.0-9334f7e963bee5410f4fa28728feffdd/waflib/Task.py", line 47, in run
return m1(self)
File "/media/sf_Pebble/Projects/notificationcenter/wscript", line 98, in inject_data_rule
return cp_result or inject_metadata.do_inject(tgt_path)
File "/home/matej/pebblekit/Pebble/sdk/waftools/inject_metadata.py", line 169, in do_inject
injected_data = inject_metadata(target)
File "/home/matej/pebblekit/Pebble/sdk/waftools/inject_metadata.py", line 123, in inject_metadata
reloc_entries = get_relocate_entries(target_elf)
File "/home/matej/pebblekit/Pebble/sdk/waftools/inject_metadata.py", line 109, in get_relocate_entries
section_label_idx = words.index('.got')
ValueError: '.got' is not in list