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.
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64079
--- Comment #13 from Danil Ilinykh ---
Thanks!
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
++
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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49837
Danil Ilinykh changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56549
Danil Ilinykh changed:
What|Removed |Added
CC||woodroof at gmail dot com
--- Comment #2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58191
--- Comment #6 from Danil Ilinykh ---
Thank you!
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
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
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
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
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
13 matches
Mail list logo