[Bug c++/86190] -Wsign-conversion ignores explicit conversion in some cases

2018-06-18 Thread woodroof at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86190 --- Comment #2 from Danil Ilinykh --- I explicity said to compiler, what I want to convert int to size_t. And it still produces warning. If I replace static_cast to variable with the same initialization, warning will be gone.

[Bug c++/86190] New: -Wsign-conversion ignores explicit conversion in some cases

2018-06-17 Thread woodroof at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: woodroof at gmail dot com Target Milestone: --- Created attachment 44289 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44289&action=edit Preprocessed source file Affected vers

[Bug c++/64079] %+D in diagnostics breaks pragma GCC diagnostic

2015-07-24 Thread woodroof at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64079 --- Comment #13 from Danil Ilinykh --- Thanks!

[Bug c++/64079] New: pragma GCC diagnostic ignored "-Wunused-function" has incorrect scope

2014-11-25 Thread woodroof at gmail dot com
ty: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: woodroof at gmail dot com Created attachment 34121 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34121&action=edit preprocessed file Regression from 4.8.x

[Bug c++/60342] New: -Wsign-conversion ignores explicit conversion

2014-02-26 Thread woodroof at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: woodroof at gmail dot com Simple example: #include #include int main() { int int_value; if (std::numeric_limits::max() - static_cast(int_value)) { } } Result: 1.cpp: In function ‘int main

[Bug pch/49837] File with UTF-8 BOM, included from pch, caused compilation error

2013-09-24 Thread woodroof at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49837 Danil Ilinykh changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug pch/56549] #pragma once ineffective with BOM in include file

2013-09-24 Thread woodroof at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56549 Danil Ilinykh changed: What|Removed |Added CC||woodroof at gmail dot com --- Comment #2

[Bug c++/58191] Can't use boost transform_iterator with _GLIBCXX_DEBUG

2013-08-19 Thread woodroof at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58191 --- Comment #6 from Danil Ilinykh --- Thank you!

[Bug c++/58191] Can't use boost transform_iterator with _GLIBCXX_DEBUG

2013-08-18 Thread woodroof at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58191 --- Comment #1 from Danil Ilinykh --- Created attachment 30671 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30671&action=edit Preprocessed file archive

[Bug c++/58191] New: Can't use boost transform_iterator with _GLIBCXX_DEBUG

2013-08-18 Thread woodroof at gmail dot com
y: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: woodroof at gmail dot com Given: A simple code: int calc_value(int original_value) { return original_value % 3; } int main() { std::vector numbers; std::upper_bound( boost::make_transform_ite

[Bug c++/49837] File with UTF-8 BOM, included from pch, caused compilation error

2011-07-25 Thread woodroof at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49837 --- Comment #2 from Danil Ilinykh 2011-07-25 10:23:51 UTC --- Created attachment 24825 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24825 Precompiled header

[Bug c++/49837] File with UTF-8 BOM, included from pch, caused compilation error

2011-07-25 Thread woodroof at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49837 --- Comment #1 from Danil Ilinykh 2011-07-25 10:23:30 UTC --- Created attachment 24824 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24824 Main file

[Bug c++/49837] New: File with UTF-8 BOM, included from pch, caused compilation error

2011-07-25 Thread woodroof at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49837 Summary: File with UTF-8 BOM, included from pch, caused compilation error Product: gcc Version: 4.4.5 Status: UNCONFIRMED Severity: major Priority: P3 Com