<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 03/20/2013 06:50 PM, Olivier Girondel wrote:
<blockquote
cite="mid:CA+FTjdMWHpxO_R0ww6zWvNSR_eJLqM1rXzcE6=2nC9JNVUrswg@mail.gmail.com"
type="cite">
<pre wrap="">On Wed, Mar 20, 2013 at 6:42 PM, Lukas Larsson <a class="moz-txt-link-rfc2396E" href="mailto:lukas@erlang.org"><lukas@erlang.org></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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
</pre>
</blockquote>
<pre wrap="">
Hi,
Just pushed 698a3c1eabb79a5427c36e24e856400e6d8799fd
on the same branch, please re-fetch
Thanks,
</pre>
</blockquote>
Hello,<br>
Your patch seems not to build on Arch: x86, OS: darwin 9.8.0<br>
<br>
beam/beam_debug.c: In function 'erts_debug_breakpoint_2':<br>
beam/beam_debug.c:81: error: two or more data types in declaration
specifiers<br>
beam/beam_debug.c:81: error: syntax error before '=' token<br>
beam/beam_debug.c:89: error: syntax error before '_Bool'<br>
beam/beam_debug.c:126: error: syntax error before '_Bool'<br>
beam/beam_debug.c:93: error: label 'error' used but not defined<br>
beam/beam_debug.c:86: warning: unused variable 'res'<br>
beam/beam_debug.c: At top level:<br>
beam/beam_debug.c:130: error: syntax error before 'else'<br>
beam/beam_debug.c:132: warning: type defaults to 'int' in
declaration of 'erts_commit_staged_bp'<br>
beam/beam_debug.c:132: warning: function declaration isn't a
prototype<br>
beam/beam_debug.c:132: error: conflicting types for
'erts_commit_staged_bp'<br>
beam/beam_bp.h:116: error: previous declaration of
'erts_commit_staged_bp' was here<br>
beam/beam_debug.c:132: warning: data definition has no type or
storage class<br>
beam/beam_debug.c:133: error: syntax error before '&' token<br>
beam/beam_debug.c:133: warning: type defaults to 'int' in
declaration of 'erts_uninstall_breakpoints'<br>
beam/beam_debug.c:133: warning: function declaration isn't a
prototype<br>
beam/beam_debug.c:133: error: conflicting types for
'erts_uninstall_breakpoints'<br>
beam/beam_bp.h:126: error: previous declaration of
'erts_uninstall_breakpoints' was here<br>
beam/beam_debug.c:133: warning: data definition has no type or
storage class<br>
beam/beam_debug.c:135: error: syntax error before '&' token<br>
beam/beam_debug.c:135: warning: type defaults to 'int' in
declaration of 'erts_consolidate_bp_data'<br>
beam/beam_debug.c:135: warning: function declaration isn't a
prototype<br>
beam/beam_debug.c:135: error: conflicting types for
'erts_consolidate_bp_data'<br>
beam/beam_bp.h:127: error: previous declaration of
'erts_consolidate_bp_data' was here<br>
beam/beam_debug.c:135: warning: data definition has no type or
storage class<br>
beam/beam_debug.c:136: warning: type defaults to 'int' in
declaration of 'res'<br>
beam/beam_debug.c:136: error: 'f' undeclared here (not in a
function)<br>
beam/beam_debug.c:136: warning: data definition has no type or
storage class<br>
beam/beam_debug.c:137: error: syntax error before '&' token<br>
beam/beam_debug.c:137: warning: type defaults to 'int' in
declaration of 'erts_bp_free_matched_functions'<br>
beam/beam_debug.c:137: warning: function declaration isn't a
prototype<br>
beam/beam_debug.c:137: error: conflicting types for
'erts_bp_free_matched_functions'<br>
beam/beam_bp.h:123: error: previous declaration of
'erts_bp_free_matched_functions' was here<br>
beam/beam_debug.c:137: warning: data definition has no type or
storage class<br>
beam/beam_debug.c:139: warning: type defaults to 'int' in
declaration of 'erts_thr_progress_unblock'<br>
beam/beam_debug.c:139: warning: function declaration isn't a
prototype<br>
beam/beam_debug.c:132: warning: type defaults to 'int' in
declaration of 'erts_commit_staged_bp'<br>
beam/beam_debug.c:132: warning: function declaration isn't a
prototype<br>
beam/beam_debug.c:132: error: conflicting types for
'erts_commit_staged_bp'<br>
beam/beam_bp.h:116: error: previous declaration of
'erts_commit_staged_bp' was here<br>
beam/beam_debug.c:132: warning: data definition has no type or
storage class<br>
beam/beam_debug.c:133: error: syntax error before '&' token<br>
beam/beam_debug.c:133: warning: type defaults to 'int' in
declaration of 'erts_uninstall_breakpoints'<br>
beam/beam_debug.c:133: warning: function declaration isn't a
prototype<br>
beam/beam_debug.c:141: warning: data definition has no type or
storage class<br>
beam/beam_debug.c:142: error: syntax error before 'return'<br>
beam/beam_debug.c: In function 'erts_debug_breakpoint_2':<br>
beam/beam_debug.c:81: error: two or more data types in declaration
specifiers<br>
beam/beam_debug.c:81: error: syntax error before '=' token<br>
beam/beam_debug.c:89: error: syntax error before '_Bool'<br>
beam/beam_debug.c:126: error: syntax error before '_Bool'<br>
beam/beam_debug.c:93: error: label 'error' used but not defined<br>
beam/beam_debug.c:86: warning: unused variable 'res'<br>
beam/beam_debug.c: At top level:<br>
beam/beam_debug.c:130: error: syntax error before 'else'<br>
beam/beam_debug.c:132: warning: type defaults to 'int' in
declaration of 'erts_commit_staged_bp'<br>
beam/beam_debug.c:132: warning: function declaration isn't a
prototype<br>
beam/beam_debug.c:132: error: conflicting types for
'erts_commit_staged_bp'<br>
beam/beam_bp.h:116: error: previous declaration of
'erts_commit_staged_bp' was here<br>
beam/beam_debug.c:132: warning: data definition has no type or
storage class<br>
beam/beam_debug.c:133: error: syntax error before '&' token<br>
beam/beam_debug.c:133: warning: type defaults to 'int' in
declaration of 'erts_uninstall_breakpoints'<br>
beam/beam_debug.c:133: warning: function declaration isn't a
prototype<br>
beam/beam_debug.c:133: error: conflicting types for
'erts_uninstall_breakpoints'<br>
beam/beam_bp.h:126: error: previous declaration of
'erts_uninstall_breakpoints' was here<br>
beam/beam_debug.c:133: warning: data definition has no type or
storage class<br>
beam/beam_debug.c:135: error: syntax error before '&' token<br>
beam/beam_debug.c:135: warning: type defaults to 'int' in
declaration of 'erts_consolidate_bp_data'<br>
beam/beam_debug.c:135: warning: function declaration isn't a
prototype<br>
beam/beam_debug.c:135: error: conflicting types for
'erts_consolidate_bp_data'<br>
beam/beam_bp.h:127: error: previous declaration of
'erts_consolidate_bp_data' was here<br>
beam/beam_debug.c:135: warning: data definition has no type or
storage class<br>
beam/beam_debug.c:136: warning: type defaults to 'int' in
declaration of 'res'<br>
beam/beam_debug.c:136: error: 'f' undeclared here (not in a
function)<br>
beam/beam_debug.c:136: warning: data definition has no type or
storage class<br>
beam/beam_debug.c:137: error: syntax error before '&' token<br>
beam/beam_debug.c:137: warning: type defaults to 'int' in
declaration of 'erts_bp_free_matched_functions'<br>
beam/beam_debug.c:137: warning: function declaration isn't a
prototype<br>
beam/beam_debug.c:137: error: conflicting types for
'erts_bp_free_matched_functions'<br>
beam/beam_bp.h:123: error: previous declaration of
'erts_bp_free_matched_functions' was here<br>
beam/beam_debug.c:137: warning: data definition has no type or
storage class<br>
beam/beam_debug.c:139: warning: type defaults to 'int' in
declaration of 'erts_thr_progress_unblock'<br>
beam/beam_debug.c:139: warning: function declaration isn't a
prototype<br>
beam/beam_debug.c:139: error: conflicting types for
'erts_thr_progress_unblock'<br>
beam/erl_thr_progress.h:48: error: previous declaration of
'erts_thr_progress_unblock' was here<br>
beam/beam_debug.c:139: warning: data definition has no type or
storage class<br>
beam/beam_debug.c:140: error: syntax error before '(' token<br>
beam/beam_debug.c:141: warning: type defaults to 'int' in
declaration of 'erts_release_code_write_permission'<br>
beam/beam_debug.c:141: warning: function declaration isn't a
prototype<br>
beam/beam_debug.c:141: error: conflicting types for
'erts_release_code_write_permission'<br>
beam/code_ix.h:95: error: previous declaration of
'erts_release_code_write_permission' was here<br>
beam/beam_debug.c:141: warning: data definition has no type or
storage class<br>
beam/beam_debug.c:142: error: syntax error before 'return'<br>
lipo: can't figure out the architecture type of:
/var/tmp//ccpYKJDY.out<br>
make[3]: *** [obj/i386-apple-darwin9.8.0/opt/smp/beam_debug.o] Error
1<br>
make[2]: *** [opt] Error 2<br>
make[1]: *** [smp] Error 2<br>
make: *** [emulator] Error 2<br>
<br>
<span style="color: rgb(51, 51, 51); font-family: 'Helvetica Neue',
Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: 18px; orphans: 2; text-align: -webkit-auto;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); display: inline !important; float: none; "></span><br>
<br>
<pre class="moz-signature" cols="72">--
BR Fredrik Gustafsson
Erlang OTP Team</pre>
</body>
</html>