http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59070
Sarfaraz Nawaz changed:
What|Removed |Added
Status|RESOLVED|NEW
Resolution|WORKSFORME
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: sir_nawaz959 at yahoo dot com
I'm using GCC 4.8.1
Here is the code which reproduces this bug:
std::vector items {"default"};
auto add = [=](std::strin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58924
--- Comment #5 from Sarfaraz Nawaz ---
(In reply to Fanael from comment #1)
> That's expected behavior AFAIU. 'operator<<(basic_ostream&&
> os, const T& x)' is a better match for const char[K] than
> 'basic_ostream& basic_ostream::operator<<(const
ersion: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: sir_nawaz959 at yahoo dot com
I'm using GCC-4.8.1 in C++11 Mode.
Consider this code,
#include
#include
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56336
Bug #: 56336
Summary: Buggy implementation of stoi, stol, stoll
Classification: Unclassified
Product: gcc
Version: 4.7.2
Status: UNCONFIRMED
Severity: normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52688
--- Comment #6 from Sarfaraz Nawaz 2012-03-26
15:54:46 UTC ---
(In reply to comment #5)
> (In reply to comment #0)
> > While gcc-4.5.1 compiles fine this code
>
> Are you sure? I get the same error with 4.1.2, 4.4.3, 4.5.2, 4.6.3 and 4.7.0
>
>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52688
--- Comment #3 from Sarfaraz Nawaz 2012-03-24
15:25:22 UTC ---
(In reply to comment #2)
> http://gcc.gnu.org/wiki/VerboseDiagnostics#missing_static_const_definition
Jonathan, that is a different case. A static (const or otherwise) member of a
cl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52688
Bug #: 52688
Summary: static local variable can accessed from local class of
function template
Classification: Unclassified
Product: gcc
Version: 4.6.1
Status: UNCONF