* [ruby-core:75664] [Ruby trunk Bug#12411] Warnings when compiling transcode.c on cygwin
[not found] <redmine.issue-12411.20160522034409@ruby-lang.org>
@ 2016-05-22 3:44 ` duerst
2016-08-04 5:39 ` [ruby-core:76694] " usa
` (2 subsequent siblings)
3 siblings, 0 replies; 4+ messages in thread
From: duerst @ 2016-05-22 3:44 UTC (permalink / raw
To: ruby-core
Issue #12411 has been reported by Martin Dürst.
----------------------------------------
Bug #12411: Warnings when compiling transcode.c on cygwin
https://bugs.ruby-lang.org/issues/12411
* Author: Martin Dürst
* Status: Open
* Priority: Normal
* Assignee: Yui NARUSE
* ruby -v: ruby 2.4.0dev (2016-05-22 trunk 55111) [x86_64-cygwin]
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
When compiling ruby trunk, the compilation of transcode produces the warnings below.
There's also a similar warning for dbm.c and a lot of them in some tkl files.
```
compiling transcode.c
In file included from ./include/ruby.h:33:0,
from internal.h:15,
from transcode.c:12:
transcode.c: In function ‘econv_args’:
transcode.c:3007:44: warning: initialization discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
argc = rb_scan_args(argc, argv, "21:", snamev_p, dnamev_p, &flags_v, &opt);
^
./include/ruby/ruby.h:2156:56: note: in definition of macro ‘rb_scan_args’
rb_scan_args0(argc,argv,fmt,(sizeof((VALUE*[]){__VA_ARGS__})/sizeof(VALUE*)),(VALUE*[]){__VA_ARGS__}), \
^
transcode.c:3007:54: warning: initialization discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
argc = rb_scan_args(argc, argv, "21:", snamev_p, dnamev_p, &flags_v, &opt);
^
./include/ruby/ruby.h:2156:56: note: in definition of macro ‘rb_scan_args’
rb_scan_args0(argc,argv,fmt,(sizeof((VALUE*[]){__VA_ARGS__})/sizeof(VALUE*)),(VALUE*[]){__VA_ARGS__}), \
^
transcode.c:3007:44: warning: initialization discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
argc = rb_scan_args(argc, argv, "21:", snamev_p, dnamev_p, &flags_v, &opt);
^
./include/ruby/ruby.h:2156:97: note: in definition of macro ‘rb_scan_args’
rb_scan_args0(argc,argv,fmt,(sizeof((VALUE*[]){__VA_ARGS__})/sizeof(VALUE*)),(VALUE*[]){__VA_ARGS__}), \
^
transcode.c:3007:54: warning: initialization discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
argc = rb_scan_args(argc, argv, "21:", snamev_p, dnamev_p, &flags_v, &opt);
^
./include/ruby/ruby.h:2156:97: note: in definition of macro ‘rb_scan_args’
rb_scan_args0(argc,argv,fmt,(sizeof((VALUE*[]){__VA_ARGS__})/sizeof(VALUE*)),(VALUE*[]){__VA_ARGS__}), \
^
transcode.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’
compiling util.c
```
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ruby-core:76694] [Ruby trunk Bug#12411] Warnings when compiling transcode.c on cygwin
[not found] <redmine.issue-12411.20160522034409@ruby-lang.org>
2016-05-22 3:44 ` [ruby-core:75664] [Ruby trunk Bug#12411] Warnings when compiling transcode.c on cygwin duerst
@ 2016-08-04 5:39 ` usa
2016-08-15 18:40 ` [ruby-core:76883] " nagachika00
2016-08-16 11:29 ` [ruby-core:76924] " usa
3 siblings, 0 replies; 4+ messages in thread
From: usa @ 2016-08-04 5:39 UTC (permalink / raw
To: ruby-core
Issue #12411 has been updated by Usaku NAKAMURA.
Backport changed from 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN to 2.1: WONTFIX, 2.2: REQUIRED, 2.3: REQUIRED
----------------------------------------
Bug #12411: Warnings when compiling transcode.c on cygwin
https://bugs.ruby-lang.org/issues/12411#change-59909
* Author: Martin Dürst
* Status: Closed
* Priority: Normal
* Assignee: Yui NARUSE
* ruby -v: ruby 2.4.0dev (2016-05-22 trunk 55111) [x86_64-cygwin]
* Backport: 2.1: WONTFIX, 2.2: REQUIRED, 2.3: REQUIRED
----------------------------------------
When compiling ruby trunk, the compilation of transcode produces the warnings below.
There's also a similar warning for dbm.c and a lot of them in some tkl files.
```
compiling transcode.c
In file included from ./include/ruby.h:33:0,
from internal.h:15,
from transcode.c:12:
transcode.c: In function ‘econv_args’:
transcode.c:3007:44: warning: initialization discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
argc = rb_scan_args(argc, argv, "21:", snamev_p, dnamev_p, &flags_v, &opt);
^
./include/ruby/ruby.h:2156:56: note: in definition of macro ‘rb_scan_args’
rb_scan_args0(argc,argv,fmt,(sizeof((VALUE*[]){__VA_ARGS__})/sizeof(VALUE*)),(VALUE*[]){__VA_ARGS__}), \
^
transcode.c:3007:54: warning: initialization discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
argc = rb_scan_args(argc, argv, "21:", snamev_p, dnamev_p, &flags_v, &opt);
^
./include/ruby/ruby.h:2156:56: note: in definition of macro ‘rb_scan_args’
rb_scan_args0(argc,argv,fmt,(sizeof((VALUE*[]){__VA_ARGS__})/sizeof(VALUE*)),(VALUE*[]){__VA_ARGS__}), \
^
transcode.c:3007:44: warning: initialization discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
argc = rb_scan_args(argc, argv, "21:", snamev_p, dnamev_p, &flags_v, &opt);
^
./include/ruby/ruby.h:2156:97: note: in definition of macro ‘rb_scan_args’
rb_scan_args0(argc,argv,fmt,(sizeof((VALUE*[]){__VA_ARGS__})/sizeof(VALUE*)),(VALUE*[]){__VA_ARGS__}), \
^
transcode.c:3007:54: warning: initialization discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
argc = rb_scan_args(argc, argv, "21:", snamev_p, dnamev_p, &flags_v, &opt);
^
./include/ruby/ruby.h:2156:97: note: in definition of macro ‘rb_scan_args’
rb_scan_args0(argc,argv,fmt,(sizeof((VALUE*[]){__VA_ARGS__})/sizeof(VALUE*)),(VALUE*[]){__VA_ARGS__}), \
^
transcode.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’
compiling util.c
```
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ruby-core:76883] [Ruby trunk Bug#12411] Warnings when compiling transcode.c on cygwin
[not found] <redmine.issue-12411.20160522034409@ruby-lang.org>
2016-05-22 3:44 ` [ruby-core:75664] [Ruby trunk Bug#12411] Warnings when compiling transcode.c on cygwin duerst
2016-08-04 5:39 ` [ruby-core:76694] " usa
@ 2016-08-15 18:40 ` nagachika00
2016-08-16 11:29 ` [ruby-core:76924] " usa
3 siblings, 0 replies; 4+ messages in thread
From: nagachika00 @ 2016-08-15 18:40 UTC (permalink / raw
To: ruby-core
Issue #12411 has been updated by Tomoyuki Chikanaga.
Backport changed from 2.1: WONTFIX, 2.2: REQUIRED, 2.3: REQUIRED to 2.1: WONTFIX, 2.2: REQUIRED, 2.3: DONE
ruby_2_3 r55903 merged revision(s) 55115.
----------------------------------------
Bug #12411: Warnings when compiling transcode.c on cygwin
https://bugs.ruby-lang.org/issues/12411#change-60105
* Author: Martin Dürst
* Status: Closed
* Priority: Normal
* Assignee: Yui NARUSE
* ruby -v: ruby 2.4.0dev (2016-05-22 trunk 55111) [x86_64-cygwin]
* Backport: 2.1: WONTFIX, 2.2: REQUIRED, 2.3: DONE
----------------------------------------
When compiling ruby trunk, the compilation of transcode produces the warnings below.
There's also a similar warning for dbm.c and a lot of them in some tkl files.
```
compiling transcode.c
In file included from ./include/ruby.h:33:0,
from internal.h:15,
from transcode.c:12:
transcode.c: In function ‘econv_args’:
transcode.c:3007:44: warning: initialization discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
argc = rb_scan_args(argc, argv, "21:", snamev_p, dnamev_p, &flags_v, &opt);
^
./include/ruby/ruby.h:2156:56: note: in definition of macro ‘rb_scan_args’
rb_scan_args0(argc,argv,fmt,(sizeof((VALUE*[]){__VA_ARGS__})/sizeof(VALUE*)),(VALUE*[]){__VA_ARGS__}), \
^
transcode.c:3007:54: warning: initialization discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
argc = rb_scan_args(argc, argv, "21:", snamev_p, dnamev_p, &flags_v, &opt);
^
./include/ruby/ruby.h:2156:56: note: in definition of macro ‘rb_scan_args’
rb_scan_args0(argc,argv,fmt,(sizeof((VALUE*[]){__VA_ARGS__})/sizeof(VALUE*)),(VALUE*[]){__VA_ARGS__}), \
^
transcode.c:3007:44: warning: initialization discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
argc = rb_scan_args(argc, argv, "21:", snamev_p, dnamev_p, &flags_v, &opt);
^
./include/ruby/ruby.h:2156:97: note: in definition of macro ‘rb_scan_args’
rb_scan_args0(argc,argv,fmt,(sizeof((VALUE*[]){__VA_ARGS__})/sizeof(VALUE*)),(VALUE*[]){__VA_ARGS__}), \
^
transcode.c:3007:54: warning: initialization discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
argc = rb_scan_args(argc, argv, "21:", snamev_p, dnamev_p, &flags_v, &opt);
^
./include/ruby/ruby.h:2156:97: note: in definition of macro ‘rb_scan_args’
rb_scan_args0(argc,argv,fmt,(sizeof((VALUE*[]){__VA_ARGS__})/sizeof(VALUE*)),(VALUE*[]){__VA_ARGS__}), \
^
transcode.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’
compiling util.c
```
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ruby-core:76924] [Ruby trunk Bug#12411] Warnings when compiling transcode.c on cygwin
[not found] <redmine.issue-12411.20160522034409@ruby-lang.org>
` (2 preceding siblings ...)
2016-08-15 18:40 ` [ruby-core:76883] " nagachika00
@ 2016-08-16 11:29 ` usa
3 siblings, 0 replies; 4+ messages in thread
From: usa @ 2016-08-16 11:29 UTC (permalink / raw
To: ruby-core
Issue #12411 has been updated by Usaku NAKAMURA.
Backport changed from 2.1: WONTFIX, 2.2: REQUIRED, 2.3: DONE to 2.1: WONTFIX, 2.2: DONE, 2.3: DONE
ruby_2_2 r55934 merged revision(s) 55115.
----------------------------------------
Bug #12411: Warnings when compiling transcode.c on cygwin
https://bugs.ruby-lang.org/issues/12411#change-60153
* Author: Martin Dürst
* Status: Closed
* Priority: Normal
* Assignee: Yui NARUSE
* ruby -v: ruby 2.4.0dev (2016-05-22 trunk 55111) [x86_64-cygwin]
* Backport: 2.1: WONTFIX, 2.2: DONE, 2.3: DONE
----------------------------------------
When compiling ruby trunk, the compilation of transcode produces the warnings below.
There's also a similar warning for dbm.c and a lot of them in some tkl files.
```
compiling transcode.c
In file included from ./include/ruby.h:33:0,
from internal.h:15,
from transcode.c:12:
transcode.c: In function ‘econv_args’:
transcode.c:3007:44: warning: initialization discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
argc = rb_scan_args(argc, argv, "21:", snamev_p, dnamev_p, &flags_v, &opt);
^
./include/ruby/ruby.h:2156:56: note: in definition of macro ‘rb_scan_args’
rb_scan_args0(argc,argv,fmt,(sizeof((VALUE*[]){__VA_ARGS__})/sizeof(VALUE*)),(VALUE*[]){__VA_ARGS__}), \
^
transcode.c:3007:54: warning: initialization discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
argc = rb_scan_args(argc, argv, "21:", snamev_p, dnamev_p, &flags_v, &opt);
^
./include/ruby/ruby.h:2156:56: note: in definition of macro ‘rb_scan_args’
rb_scan_args0(argc,argv,fmt,(sizeof((VALUE*[]){__VA_ARGS__})/sizeof(VALUE*)),(VALUE*[]){__VA_ARGS__}), \
^
transcode.c:3007:44: warning: initialization discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
argc = rb_scan_args(argc, argv, "21:", snamev_p, dnamev_p, &flags_v, &opt);
^
./include/ruby/ruby.h:2156:97: note: in definition of macro ‘rb_scan_args’
rb_scan_args0(argc,argv,fmt,(sizeof((VALUE*[]){__VA_ARGS__})/sizeof(VALUE*)),(VALUE*[]){__VA_ARGS__}), \
^
transcode.c:3007:54: warning: initialization discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
argc = rb_scan_args(argc, argv, "21:", snamev_p, dnamev_p, &flags_v, &opt);
^
./include/ruby/ruby.h:2156:97: note: in definition of macro ‘rb_scan_args’
rb_scan_args0(argc,argv,fmt,(sizeof((VALUE*[]){__VA_ARGS__})/sizeof(VALUE*)),(VALUE*[]){__VA_ARGS__}), \
^
transcode.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’
compiling util.c
```
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-08-16 10:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <redmine.issue-12411.20160522034409@ruby-lang.org>
2016-05-22 3:44 ` [ruby-core:75664] [Ruby trunk Bug#12411] Warnings when compiling transcode.c on cygwin duerst
2016-08-04 5:39 ` [ruby-core:76694] " usa
2016-08-15 18:40 ` [ruby-core:76883] " nagachika00
2016-08-16 11:29 ` [ruby-core:76924] " usa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).