[erlang-patches] Add 'global' driver option to erl_ddll:try_load/3
Fredrik
fredrik@REDACTED
Fri Mar 22 11:09:11 CET 2013
On 03/20/2013 06:50 PM, Olivier Girondel wrote:
> On Wed, Mar 20, 2013 at 6:42 PM, Lukas Larsson<lukas@REDACTED> wrote:
>> Hello,
>>
>> It is still failing to build on windows:
>>
>> sys/win32/erl_win32_sys_ddll.c(74) : warning C4047: 'function' : 'int'
>> differs in levels of indirection from 'void **'
>> sys/win32/erl_win32_sys_ddll.c(74) : warning C4024:
>> 'erts_sys_ddll_open_noext' : different types for formal and actual parameter
>> 2
>> sys/win32/erl_win32_sys_ddll.c(74) : warning C4047: 'function' : 'void **'
>> differs in levels of indirection from 'ErtsSysDdllError *'
>> sys/win32/erl_win32_sys_ddll.c(74) : warning C4022:
>> 'erts_sys_ddll_open_noext' : pointer mismatch for actual parameter 3
>> sys/win32/erl_win32_sys_ddll.c(74) : error C2198: 'erts_sys_ddll_open_noext'
>> : too few arguments for call
>> sys/win32/erl_win32_sys_ddll.c(77) : warning C4028: formal parameter 2
>> different from declaration
>> sys/win32/erl_win32_sys_ddll.c(77) : warning C4028: formal parameter 3
>> different from declaration
>> sys/win32/erl_win32_sys_ddll.c(77) : warning C4029: declared formal
>> parameter list different from definition
>> make[3]: *** [obj/win32/opt/smp/erl_win32_sys_ddll.o] Error 2
> Hi,
>
> Just pushed 698a3c1eabb79a5427c36e24e856400e6d8799fd
> on the same branch, please re-fetch
>
> Thanks,
>
Hello,
Your patch seems not to build on Arch: x86, OS: darwin 9.8.0
beam/beam_debug.c: In function 'erts_debug_breakpoint_2':
beam/beam_debug.c:81: error: two or more data types in declaration
specifiers
beam/beam_debug.c:81: error: syntax error before '=' token
beam/beam_debug.c:89: error: syntax error before '_Bool'
beam/beam_debug.c:126: error: syntax error before '_Bool'
beam/beam_debug.c:93: error: label 'error' used but not defined
beam/beam_debug.c:86: warning: unused variable 'res'
beam/beam_debug.c: At top level:
beam/beam_debug.c:130: error: syntax error before 'else'
beam/beam_debug.c:132: warning: type defaults to 'int' in declaration of
'erts_commit_staged_bp'
beam/beam_debug.c:132: warning: function declaration isn't a prototype
beam/beam_debug.c:132: error: conflicting types for 'erts_commit_staged_bp'
beam/beam_bp.h:116: error: previous declaration of
'erts_commit_staged_bp' was here
beam/beam_debug.c:132: warning: data definition has no type or storage class
beam/beam_debug.c:133: error: syntax error before '&' token
beam/beam_debug.c:133: warning: type defaults to 'int' in declaration of
'erts_uninstall_breakpoints'
beam/beam_debug.c:133: warning: function declaration isn't a prototype
beam/beam_debug.c:133: error: conflicting types for
'erts_uninstall_breakpoints'
beam/beam_bp.h:126: error: previous declaration of
'erts_uninstall_breakpoints' was here
beam/beam_debug.c:133: warning: data definition has no type or storage class
beam/beam_debug.c:135: error: syntax error before '&' token
beam/beam_debug.c:135: warning: type defaults to 'int' in declaration of
'erts_consolidate_bp_data'
beam/beam_debug.c:135: warning: function declaration isn't a prototype
beam/beam_debug.c:135: error: conflicting types for
'erts_consolidate_bp_data'
beam/beam_bp.h:127: error: previous declaration of
'erts_consolidate_bp_data' was here
beam/beam_debug.c:135: warning: data definition has no type or storage class
beam/beam_debug.c:136: warning: type defaults to 'int' in declaration of
'res'
beam/beam_debug.c:136: error: 'f' undeclared here (not in a function)
beam/beam_debug.c:136: warning: data definition has no type or storage class
beam/beam_debug.c:137: error: syntax error before '&' token
beam/beam_debug.c:137: warning: type defaults to 'int' in declaration of
'erts_bp_free_matched_functions'
beam/beam_debug.c:137: warning: function declaration isn't a prototype
beam/beam_debug.c:137: error: conflicting types for
'erts_bp_free_matched_functions'
beam/beam_bp.h:123: error: previous declaration of
'erts_bp_free_matched_functions' was here
beam/beam_debug.c:137: warning: data definition has no type or storage class
beam/beam_debug.c:139: warning: type defaults to 'int' in declaration of
'erts_thr_progress_unblock'
beam/beam_debug.c:139: warning: function declaration isn't a prototype
beam/beam_debug.c:132: warning: type defaults to 'int' in declaration of
'erts_commit_staged_bp'
beam/beam_debug.c:132: warning: function declaration isn't a prototype
beam/beam_debug.c:132: error: conflicting types for 'erts_commit_staged_bp'
beam/beam_bp.h:116: error: previous declaration of
'erts_commit_staged_bp' was here
beam/beam_debug.c:132: warning: data definition has no type or storage class
beam/beam_debug.c:133: error: syntax error before '&' token
beam/beam_debug.c:133: warning: type defaults to 'int' in declaration of
'erts_uninstall_breakpoints'
beam/beam_debug.c:133: warning: function declaration isn't a prototype
beam/beam_debug.c:141: warning: data definition has no type or storage class
beam/beam_debug.c:142: error: syntax error before 'return'
beam/beam_debug.c: In function 'erts_debug_breakpoint_2':
beam/beam_debug.c:81: error: two or more data types in declaration
specifiers
beam/beam_debug.c:81: error: syntax error before '=' token
beam/beam_debug.c:89: error: syntax error before '_Bool'
beam/beam_debug.c:126: error: syntax error before '_Bool'
beam/beam_debug.c:93: error: label 'error' used but not defined
beam/beam_debug.c:86: warning: unused variable 'res'
beam/beam_debug.c: At top level:
beam/beam_debug.c:130: error: syntax error before 'else'
beam/beam_debug.c:132: warning: type defaults to 'int' in declaration of
'erts_commit_staged_bp'
beam/beam_debug.c:132: warning: function declaration isn't a prototype
beam/beam_debug.c:132: error: conflicting types for 'erts_commit_staged_bp'
beam/beam_bp.h:116: error: previous declaration of
'erts_commit_staged_bp' was here
beam/beam_debug.c:132: warning: data definition has no type or storage class
beam/beam_debug.c:133: error: syntax error before '&' token
beam/beam_debug.c:133: warning: type defaults to 'int' in declaration of
'erts_uninstall_breakpoints'
beam/beam_debug.c:133: warning: function declaration isn't a prototype
beam/beam_debug.c:133: error: conflicting types for
'erts_uninstall_breakpoints'
beam/beam_bp.h:126: error: previous declaration of
'erts_uninstall_breakpoints' was here
beam/beam_debug.c:133: warning: data definition has no type or storage class
beam/beam_debug.c:135: error: syntax error before '&' token
beam/beam_debug.c:135: warning: type defaults to 'int' in declaration of
'erts_consolidate_bp_data'
beam/beam_debug.c:135: warning: function declaration isn't a prototype
beam/beam_debug.c:135: error: conflicting types for
'erts_consolidate_bp_data'
beam/beam_bp.h:127: error: previous declaration of
'erts_consolidate_bp_data' was here
beam/beam_debug.c:135: warning: data definition has no type or storage class
beam/beam_debug.c:136: warning: type defaults to 'int' in declaration of
'res'
beam/beam_debug.c:136: error: 'f' undeclared here (not in a function)
beam/beam_debug.c:136: warning: data definition has no type or storage class
beam/beam_debug.c:137: error: syntax error before '&' token
beam/beam_debug.c:137: warning: type defaults to 'int' in declaration of
'erts_bp_free_matched_functions'
beam/beam_debug.c:137: warning: function declaration isn't a prototype
beam/beam_debug.c:137: error: conflicting types for
'erts_bp_free_matched_functions'
beam/beam_bp.h:123: error: previous declaration of
'erts_bp_free_matched_functions' was here
beam/beam_debug.c:137: warning: data definition has no type or storage class
beam/beam_debug.c:139: warning: type defaults to 'int' in declaration of
'erts_thr_progress_unblock'
beam/beam_debug.c:139: warning: function declaration isn't a prototype
beam/beam_debug.c:139: error: conflicting types for
'erts_thr_progress_unblock'
beam/erl_thr_progress.h:48: error: previous declaration of
'erts_thr_progress_unblock' was here
beam/beam_debug.c:139: warning: data definition has no type or storage class
beam/beam_debug.c:140: error: syntax error before '(' token
beam/beam_debug.c:141: warning: type defaults to 'int' in declaration of
'erts_release_code_write_permission'
beam/beam_debug.c:141: warning: function declaration isn't a prototype
beam/beam_debug.c:141: error: conflicting types for
'erts_release_code_write_permission'
beam/code_ix.h:95: error: previous declaration of
'erts_release_code_write_permission' was here
beam/beam_debug.c:141: warning: data definition has no type or storage class
beam/beam_debug.c:142: error: syntax error before 'return'
lipo: can't figure out the architecture type of: /var/tmp//ccpYKJDY.out
make[3]: *** [obj/i386-apple-darwin9.8.0/opt/smp/beam_debug.o] Error 1
make[2]: *** [opt] Error 2
make[1]: *** [smp] Error 2
make: *** [emulator] Error 2
--
BR Fredrik Gustafsson
Erlang OTP Team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20130322/4eb0c67c/attachment.htm>
More information about the erlang-patches
mailing list