mal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: joseph.h.garvin at gmail dot com
Target Milestone: ---
My coworker Jay Miller discovered this but he couldn't create an account
because of the spam restriction in effect. He
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53843
--- Comment #3 from Joseph Garvin 2012-07-03
20:00:28 UTC ---
Sorry, I Googled for "C++11 preprocessor changes" and didn't find anything
discussing this. Do you have a link?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53843
--- Comment #1 from Joseph Garvin 2012-07-03
19:56:28 UTC ---
Forgot to mention inserting a space between "x" and bar fixes the error.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53843
Bug #: 53843
Summary: Macros following string literals don't expand in C++11
mode
Classification: Unclassified
Product: gcc
Version: unknown
Status: UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52299
--- Comment #7 from Joseph Garvin 2012-02-20
17:56:20 UTC ---
Sorry, I should have copy and pasted the whole file. I was trying to save
people's time by providing a condensed snippet ;p
(In reply to comment #6)
> This reproduces it:
>
> templat
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52299
--- Comment #3 from Joseph Garvin 2012-02-20
16:47:23 UTC ---
Also this is x86-64, which could be relevant since it affects the underlying
type of std::size_t.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52299
--- Comment #2 from Joseph Garvin 2012-02-20
16:45:21 UTC ---
#include
template
struct test {
static const std::size_t a_
= x ? 10 / x : 10;
};
I just forgot to copy and paste the include. My command line is just "g++
alignptrtest.cpp"
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52299
Bug #: 52299
Summary: GCC warns on compile time division by zero erroneously
Classification: Unclassified
Product: gcc
Version: 4.4.3
Status: UNCONFIRMED
Severity: normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52032
--- Comment #4 from Joseph Garvin 2012-01-30
21:13:37 UTC ---
That's why I put the severity as enhancement :)
I thought of a better example.
template
void __attribute__((always_inline(force_inline))) foo()
{
// ...
}
Now you can choose whe
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52032
Joseph Garvin changed:
What|Removed |Added
Status|RESOLVED|UNCONFIRMED
Resolution|WONTFIX
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52032
Bug #: 52032
Summary: Function and class attributes should optionally take a
bool parameter enabling them
Classification: Unclassified
Product: gcc
Version: unknown
S
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52031
Bug #: 52031
Summary: G++ crashes when std::size_t is initalized with a
float inside a template
Classification: Unclassified
Product: gcc
Version: 4.6.1
Status: UNCON
12 matches
Mail list logo