http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45942
--- Comment #13 from Michiel 2010-10-09 13:38:05
UTC ---
The reason that I did not succeed in making ClassB a friend of ClassA is that
C++ is not very logical. See below.
template class classB;
template class classC;
template class classA
{
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45942
--- Comment #12 from Michiel 2010-10-09 13:02:51
UTC ---
> You seem to misunderstand what this bugzilla is for.
No, that is not true, although the effect has been equally terrible. Indeed,
you only need to say that my bug is invalid.
However,
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45942
--- Comment #11 from Michiel 2010-10-08 16:09:33
UTC ---
C++ is designed to give an error message which is syntactically correct, but
semantically incorrect.
I thought that the template prechecker (preprocessor or whatever, do not
correct me thi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45942
--- Comment #9 from Michiel 2010-10-08 15:43:13 UTC
---
(In reply to comment #6)
> (In reply to comment #4)
> > (In reply to comment #2)
> > > This code is not valid, G++ is correct to reject it.
> >
> > Please explain why the code is invalid, a
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45942
--- Comment #7 from Michiel 2010-10-08 15:12:36 UTC
---
(In reply to comment #5)
> (In reply to comment #3)
> > Apparently you are making the same mistake as the compiler.
>
> Before adjusting the sentence to use a proper plural here (the same e
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45942
Michiel changed:
What|Removed |Added
Status|RESOLVED|UNCONFIRMED
Resolution|INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45942
--- Comment #3 from Michiel 2010-10-08 14:51:36 UTC
---
(In reply to comment #1)
> It's not entirely clear what you're saying is a bug, because your testcase
> doesn't give any error.
>
> It's more helpful to provide the source code that you cla
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45942
Summary: class will not get friends with another class
Product: gcc
Version: 4.4.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45831
--- Comment #16 from Michiel 2010-09-30 19:38:55
UTC ---
(In reply to comment #15)
> (In reply to comment #14)
> >
> > Is that really too hard?
>
> You are ignoring everything everybody is saying. If you think it is trivial,
> just take one singl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45831
--- Comment #14 from Michiel 2010-09-30 18:30:16
UTC ---
Remove signed/unsigned warnings, or even overflow warnings, for constants that
are used in an expression with the following operations only:
casts to integral type of smaller or equal size
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45831
--- Comment #10 from Michiel 2010-09-30 11:23:58
UTC ---
To get to know what a formula does, I usually compute some examples. When doing
so, I was warned, but ignored them and that was stupid.
There are however also warnings that are stupid. I n
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45831
--- Comment #6 from Michiel 2010-09-29 15:19:11 UTC
---
If undefined behavior only depends on the machine (most times compiling machine
and target machine are the same), then there will be less bias here.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45831
--- Comment #4 from Michiel 2010-09-29 14:29:54 UTC
---
In case you are missing the point, most non-bug posters compile on their target
machine.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45831
--- Comment #3 from Michiel 2010-09-29 14:22:39 UTC
---
Still it is a very bad idea to use another library for precomputation.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45831
--- Comment #2 from Michiel 2010-09-29 14:20:29 UTC
---
That does not mean that it is a very bad idea to use another library for
precomputation.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45831
Summary: 0 = 10 (with -O0, 0 = 0 with -O1, but 10 = 10
expected)
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45770
MichieldeB at aim dot com changed:
What|Removed |Added
Status|RESOLVED|UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45770
MichieldeB at aim dot com changed:
What|Removed |Added
Status|RESOLVED|UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45770
Summary: global access allowance exceeds that of derived class
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assigned
19 matches
Mail list logo