Actions
Bug #29794
openruby-prof 1.4.0 is broken on (at least) CentOS 7
Status:
New
Priority:
Normal
Assignee:
-
Category:
Packaging
Target version:
-
Description
[2020-05-13T18:33:57.899Z] rp_allocation.c: In function ���prof_allocate_increment���: [2020-05-13T18:33:57.899Z] rp_allocation.c:64:5: warning: ISO C90 forbids mixed declarations and code [2020-05-13T18:33:57.899Z] [-Wdeclaration-after-statement] [2020-05-13T18:33:57.899Z] VALUE klass = rb_obj_class(object); [2020-05-13T18:33:57.899Z] ^ [2020-05-13T18:33:57.899Z] rp_allocation.c: In function ���prof_allocation_mark���: [2020-05-13T18:33:57.899Z] rp_allocation.c:119:5: warning: ISO C90 forbids mixed declarations and code [2020-05-13T18:33:57.899Z] [-Wdeclaration-after-statement] [2020-05-13T18:33:57.899Z] prof_allocation_t* allocation = (prof_allocation_t*)data; [2020-05-13T18:33:57.899Z] ^ [2020-05-13T18:33:57.899Z] rp_allocation.c: At top level: [2020-05-13T18:33:57.899Z] cc1: warning: unrecognized command line option "-Wno-self-assign" [enabled by [2020-05-13T18:33:57.899Z] default] [2020-05-13T18:33:57.899Z] cc1: warning: unrecognized command line option "-Wno-constant-logical-operand" [2020-05-13T18:33:57.899Z] [enabled by default] [2020-05-13T18:33:57.899Z] cc1: warning: unrecognized command line option "-Wno-parentheses-equality" [2020-05-13T18:33:57.899Z] [enabled by default] [2020-05-13T18:33:57.899Z] cc1: warning: unrecognized command line option "-Wno-tautological-compare" [2020-05-13T18:33:57.899Z] [enabled by default] [2020-05-13T18:33:57.899Z] compiling rp_call_tree.c [2020-05-13T18:33:57.899Z] rp_call_tree.c: In function ���prof_call_tree_mark���: [2020-05-13T18:33:57.899Z] rp_call_tree.c:77:5: warning: ISO C90 forbids mixed declarations and code [2020-05-13T18:33:57.899Z] [-Wdeclaration-after-statement] [2020-05-13T18:33:57.899Z] prof_call_tree_t* call_tree = (prof_call_tree_t*)data; [2020-05-13T18:33:57.899Z] ^ [2020-05-13T18:33:57.899Z] rp_call_tree.c: In function ���prof_call_tree_load���: [2020-05-13T18:33:57.899Z] rp_call_tree.c:325:5: warning: ISO C90 forbids mixed declarations and code [2020-05-13T18:33:57.899Z] [-Wdeclaration-after-statement] [2020-05-13T18:33:57.899Z] VALUE measurement = rb_hash_aref(data, ID2SYM(rb_intern("measurement"))); [2020-05-13T18:33:57.899Z] ^ [2020-05-13T18:33:57.899Z] rp_call_tree.c:335:5: warning: ISO C90 forbids mixed declarations and code [2020-05-13T18:33:57.899Z] [-Wdeclaration-after-statement] [2020-05-13T18:33:57.899Z] VALUE callees = rb_hash_aref(data, ID2SYM(rb_intern("children"))); [2020-05-13T18:33:57.899Z] ^ [2020-05-13T18:33:57.899Z] rp_call_tree.c:336:5: error: ���for��� loop initial declarations are only allowed in [2020-05-13T18:33:57.899Z] C99 mode [2020-05-13T18:33:57.899Z] for (int i = 0; i < rb_array_len(callees); i++) [2020-05-13T18:33:57.899Z] ^ [2020-05-13T18:33:57.899Z] rp_call_tree.c:336:5: note: use option -std=c99 or -std=gnu99 to compile your [2020-05-13T18:33:57.899Z] code [2020-05-13T18:33:57.899Z] rp_call_tree.c: At top level: [2020-05-13T18:33:57.899Z] cc1: warning: unrecognized command line option "-Wno-self-assign" [enabled by [2020-05-13T18:33:57.899Z] default] [2020-05-13T18:33:57.899Z] cc1: warning: unrecognized command line option "-Wno-constant-logical-operand" [2020-05-13T18:33:57.899Z] [enabled by default] [2020-05-13T18:33:57.899Z] cc1: warning: unrecognized command line option "-Wno-parentheses-equality" [2020-05-13T18:33:57.899Z] [enabled by default] [2020-05-13T18:33:57.900Z] cc1: warning: unrecognized command line option "-Wno-tautological-compare" [2020-05-13T18:33:57.900Z] [enabled by default] [2020-05-13T18:33:57.900Z] make: *** [rp_call_tree.o] Error 1
Updated by The Foreman Bot over 4 years ago
- Pull request https://github.com/theforeman/smart-proxy/pull/761 added
Updated by Anonymous over 4 years ago
- Status changed from Ready For Testing to New
Actions