[Bug c++/34749] Incorrect warning when applying dllimport to friend function

2010-12-03 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34749 Kai Tietz ktietz at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c++/34749] Incorrect warning when applying dllimport to friend function

2009-01-13 Thread angry-kasyan at narod dot ru
--- 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)) int

[Bug c++/34749] Incorrect warning when applying dllimport to friend function

2009-01-11 Thread angry-kasyan at narod dot ru
--- 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 , QBitArray );

[Bug c++/34749] Incorrect warning when applying dllimport to friend function

2009-01-11 Thread dannysmith at users dot sourceforge dot net
--- 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

[Bug c++/34749] Incorrect warning when applying dllimport to friend function

2008-09-25 Thread dannysmith at users dot sourceforge dot net
--- 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

[Bug c++/34749] Incorrect warning when applying dllimport to friend function

2008-02-24 Thread dannysmith at gcc dot gnu dot org
--- 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=gccview=revrev=132585 Log: cp PR c++/34749 * friend.c (do_friend):

[Bug c++/34749] Incorrect warning when applying dllimport to friend function

2008-01-19 Thread dannysmith at users dot sourceforge dot net
--- 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

[Bug c++/34749] Incorrect warning when applying dllimport to friend function

2008-01-13 Thread dannysmith at users dot sourceforge dot net
--- 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

[Bug c++/34749] Incorrect warning when applying dllimport to friend function

2008-01-12 Thread bangerth at dealii dot org
--- 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

[Bug c++/34749] Incorrect warning when applying dllimport to friend function

2008-01-12 Thread sldev327 at softmagi dot com
--- 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

[Bug c++/34749] Incorrect warning when applying dllimport to friend function

2008-01-12 Thread dannysmith at users dot sourceforge dot net
--- 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