Created
October 26, 2020 04:49
-
-
Save ZeWaka/c47ae9e418de82a39881886cf5be8462 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
warning: src/hooks.cpp:21:29: warning: ‘call_proc_by_id_original’ initialized and declared ‘extern’ | |
warning: extern "C" CallProcById_Ptr call_proc_by_id_original = nullptr; | |
warning: ^~~~~~~~~~~~~~~~~~~~~~~~ | |
warning: src/raw_types/funcs.cpp:37:23: warning: ‘call_proc_by_id_byond’ initialized and declared ‘extern’ | |
warning: DEFINE_byond_REGPARM3(call_proc_by_id, Value, (Value, uint32_t, uint32_t, uint32_t, Value, const Value*, uint32_t, uint32_t, uint32_t)) | |
warning: ^ | |
warning: src/raw_types/funcs.cpp:35:33: note: in definition of macro ‘DEFINE_byond_REGPARM3’ | |
warning: extern "C" Fn##name##_byond name##_byond = nullptr; | |
warning: ^~~~ | |
warning: src/raw_types/funcs.cpp:38:23: warning: ‘call_datum_proc_by_name_byond’ initialized and declared ‘extern’ | |
warning: DEFINE_byond_REGPARM3(call_datum_proc_by_name, Value, (Value, uint32_t, uint32_t, Value, const Value*, uint32_t, uint32_t, uint32_t)) | |
warning: ^ | |
warning: src/raw_types/funcs.cpp:35:33: note: in definition of macro ‘DEFINE_byond_REGPARM3’ | |
warning: extern "C" Fn##name##_byond name##_byond = nullptr; | |
warning: ^~~~ | |
warning: src/raw_types/funcs.cpp:39:14: warning: ‘get_proc_array_entry_byond’ initialized and declared ‘extern’ | |
warning: DEFINE_byond(get_proc_array_entry, void*, (uint32_t)) | |
warning: ^ | |
warning: src/raw_types/funcs.cpp:27:33: note: in definition of macro ‘DEFINE_byond’ | |
warning: extern "C" Fn##name##_byond name##_byond = nullptr; | |
warning: ^~~~ | |
warning: src/raw_types/funcs.cpp:40:23: warning: ‘get_string_id_byond’ initialized and declared ‘extern’ | |
warning: DEFINE_byond_REGPARM3(get_string_id, uint32_t, (const char*, bool, bool, bool)) | |
warning: ^ | |
warning: src/raw_types/funcs.cpp:35:33: note: in definition of macro ‘DEFINE_byond_REGPARM3’ | |
warning: extern "C" Fn##name##_byond name##_byond = nullptr; | |
warning: ^~~~ | |
warning: src/raw_types/funcs.cpp:41:14: warning: ‘get_variable_byond’ initialized and declared ‘extern’ | |
warning: DEFINE_byond(get_variable, Value, (Value, uint32_t)) | |
warning: ^ | |
warning: src/raw_types/funcs.cpp:27:33: note: in definition of macro ‘DEFINE_byond’ | |
warning: extern "C" Fn##name##_byond name##_byond = nullptr; | |
warning: ^~~~ | |
warning: src/raw_types/funcs.cpp:42:14: warning: ‘set_variable_byond’ initialized and declared ‘extern’ | |
warning: DEFINE_byond(set_variable, void, (Value, uint32_t, Value)) | |
warning: ^ | |
warning: src/raw_types/funcs.cpp:27:33: note: in definition of macro ‘DEFINE_byond’ | |
warning: extern "C" Fn##name##_byond name##_byond = nullptr; | |
warning: ^~~~ | |
warning: src/raw_types/funcs.cpp:43:14: warning: ‘get_string_table_entry_byond’ initialized and declared ‘extern’ | |
warning: DEFINE_byond(get_string_table_entry, void*, (uint32_t)) | |
warning: ^ | |
warning: src/raw_types/funcs.cpp:27:33: note: in definition of macro ‘DEFINE_byond’ | |
warning: extern "C" Fn##name##_byond name##_byond = nullptr; | |
warning: ^~~~ | |
warning: src/raw_types/funcs.cpp:44:14: warning: ‘inc_ref_count_byond’ initialized and declared ‘extern’ | |
warning: DEFINE_byond(inc_ref_count, void, (Value)) | |
warning: ^ | |
warning: src/raw_types/funcs.cpp:27:33: note: in definition of macro ‘DEFINE_byond’ | |
warning: extern "C" Fn##name##_byond name##_byond = nullptr; | |
warning: ^~~~ | |
warning: src/raw_types/funcs.cpp:45:14: warning: ‘dec_ref_count_byond’ initialized and declared ‘extern’ | |
warning: DEFINE_byond(dec_ref_count, void, (Value)) | |
warning: ^ | |
warning: src/raw_types/funcs.cpp:27:33: note: in definition of macro ‘DEFINE_byond’ | |
warning: extern "C" Fn##name##_byond name##_byond = nullptr; | |
warning: ^~~~ | |
warning: src/raw_types/funcs.cpp:46:23: warning: ‘get_list_by_id_byond’ initialized and declared ‘extern’ | |
warning: DEFINE_byond_REGPARM3(get_list_by_id, void*, (uint32_t)) | |
warning: ^ | |
warning: src/raw_types/funcs.cpp:35:33: note: in definition of macro ‘DEFINE_byond_REGPARM3’ | |
warning: extern "C" Fn##name##_byond name##_byond = nullptr; | |
warning: ^~~~ | |
warning: src/raw_types/funcs.cpp:47:23: warning: ‘get_assoc_element_byond’ initialized and declared ‘extern’ | |
warning: DEFINE_byond_REGPARM3(get_assoc_element, Value, (Value, Value)) | |
warning: ^ | |
warning: src/raw_types/funcs.cpp:35:33: note: in definition of macro ‘DEFINE_byond_REGPARM3’ | |
warning: extern "C" Fn##name##_byond name##_byond = nullptr; | |
warning: ^~~~ | |
warning: src/raw_types/funcs.cpp:48:23: warning: ‘set_assoc_element_byond’ initialized and declared ‘extern’ | |
warning: DEFINE_byond_REGPARM3(set_assoc_element, void, (Value, Value, Value)) | |
warning: ^ | |
warning: src/raw_types/funcs.cpp:35:33: note: in definition of macro ‘DEFINE_byond_REGPARM3’ | |
warning: extern "C" Fn##name##_byond name##_byond = nullptr; | |
warning: ^~~~ | |
warning: src/raw_types/funcs.cpp:49:14: warning: ‘create_list_byond’ initialized and declared ‘extern’ | |
warning: DEFINE_byond(create_list, uint32_t, (uint32_t)) | |
warning: ^ | |
warning: src/raw_types/funcs.cpp:27:33: note: in definition of macro ‘DEFINE_byond’ | |
warning: extern "C" Fn##name##_byond name##_byond = nullptr; | |
warning: ^~~~ | |
warning: src/raw_types/funcs.cpp:50:23: warning: ‘append_to_list_byond’ initialized and declared ‘extern’ | |
warning: DEFINE_byond_REGPARM2(append_to_list, void, (Value, Value)) | |
warning: ^ | |
warning: src/raw_types/funcs.cpp:31:33: note: in definition of macro ‘DEFINE_byond_REGPARM2’ | |
warning: extern "C" Fn##name##_byond name##_byond = nullptr; | |
warning: ^~~~ | |
warning: src/raw_types/funcs.cpp:51:23: warning: ‘remove_from_list_byond’ initialized and declared ‘extern’ | |
warning: DEFINE_byond_REGPARM2(remove_from_list, void, (Value, Value)) | |
warning: ^ | |
warning: src/raw_types/funcs.cpp:31:33: note: in definition of macro ‘DEFINE_byond_REGPARM2’ | |
warning: extern "C" Fn##name##_byond name##_byond = nullptr; | |
warning: ^~~~ | |
warning: src/raw_types/funcs.cpp:52:14: warning: ‘get_length_byond’ initialized and declared ‘extern’ | |
warning: DEFINE_byond(get_length, uint32_t, (Value)) | |
warning: ^ | |
warning: src/raw_types/funcs.cpp:27:33: note: in definition of macro ‘DEFINE_byond’ | |
warning: extern "C" Fn##name##_byond name##_byond = nullptr; | |
warning: ^~~~ | |
Checking mmap-fixed v0.1.5 | |
Checking sigscan v0.1.0 (/home/runner/work/auxtools/auxtools/sigscan) | |
error[E0308]: mismatched types | |
--> sigscan/src/linux.rs:30:39 | |
| | |
30 | unsafe { std::slice::from_raw_parts(info.dlpi_phdr, info.dlpi_phnum as usize) }; | |
| ^^^^^^^^^^^^^^ expected struct `Elf32_Phdr`, found struct `Elf64_Phdr` | |
| | |
= note: expected raw pointer `*const Elf32_Phdr` | |
found raw pointer `*const Elf64_Phdr` | |
error[E0308]: mismatched types | |
--> sigscan/src/linux.rs:37:32 | |
| | |
37 | let start = (info.dlpi_addr + elf_header.p_vaddr) as usize; | |
| ^^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` | |
error[E0277]: cannot add `u32` to `u64` | |
--> sigscan/src/linux.rs:37:30 | |
| | |
37 | let start = (info.dlpi_addr + elf_header.p_vaddr) as usize; | |
| ^ no implementation for `u64 + u32` | |
| | |
= help: the trait `Add<u32>` is not implemented for `u64` | |
error: aborting due to 3 previous errors | |
Some errors have detailed explanations: E0277, E0308. | |
For more information about an error, try `rustc --explain E0277`. | |
error: could not compile `sigscan` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment