http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34749
Kai Tietz changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
CC|
--- Comment #10 from angry-kasyan at narod dot ru 2009-01-13 08:12 ---
(In reply to comment #9)
> (In reply to comment #8)
> > still unfixed?
>
> Please provide a compilable self-contained testcase.
> Danny
>
Here is compilable testcase:
## begin df.cpp
__attribute__((dllimport)) in
--- Comment #9 from dannysmith at users dot sourceforge dot net 2009-01-12
02:07 ---
(In reply to comment #8)
> still unfixed?
Please provide a compilable self-contained testcase.
Danny
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34749
--- Comment #8 from angry-kasyan at narod dot ru 2009-01-11 12:08 ---
class __declspec(dllimport) QBitArray
{
//...
friend __declspec(dllimport) QDataStream &operator<<(QDataStream &, const
QBitArray &);
friend __declspec(dllimport) QDataStream &operator>>(QDataStream &,
QBitArra
--- Comment #7 from dannysmith at users dot sourceforge dot net 2008-09-26
03:15 ---
*** Bug 37652 has been marked as a duplicate of this bug. ***
--
dannysmith at users dot sourceforge dot net changed:
What|Removed |Added
--- Comment #6 from dannysmith at gcc dot gnu dot org 2008-02-24 09:20
---
Subject: Bug 34749
Author: dannysmith
Date: Sun Feb 24 09:19:39 2008
New Revision: 132585
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132585
Log:
cp
PR c++/34749
* friend.c (do_friend)
--- Comment #5 from dannysmith at users dot sourceforge dot net 2008-01-19
08:33 ---
(In reply to comment #4)
> Testing a patch.
>
Here it is:
http://gcc.gnu.org/ml/gcc-patches/2008-01/msg00881.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34749
--- Comment #4 from dannysmith at users dot sourceforge dot net 2008-01-13
08:32 ---
Testing a patch.
--
dannysmith at users dot sourceforge dot net changed:
What|Removed |Added
-
--- Comment #3 from dannysmith at users dot sourceforge dot net 2008-01-13
06:50 ---
(In reply to comment #1)
> One could make the argument that the dllimport specifier is
> a storage-class-specifier which, per 11.4/6 is not allowed on
> the friend declaration. Since a friend function d
--- Comment #2 from sldev327 at softmagi dot com 2008-01-13 05:52 ---
I as well will leave the argument about syntax to more knowledgeable people.
As to the validity of this PR, at the very least g++'s behavior is
inconsistent.I suppose a case like df3.cpp is what the warning was in
--- Comment #1 from bangerth at dealii dot org 2008-01-13 02:12 ---
One could make the argument that the dllimport specifier is
a storage-class-specifier which, per 11.4/6 is not allowed on
the friend declaration. Since a friend function declaration
needs to be preceded by a declaration
11 matches
Mail list logo