On Mon, Aug 1, 2011 at 11:54 PM, Alen Skondro <[email protected]> wrote:
> possible break for me is r4279.
>
>
> On Mon, Aug 1, 2011 at 11:45 PM, Alen Skondro <[email protected]> wrote:
>
>> Hello guys,
>>
>> I have this strange error. It didn't happen a month ago.
>>
>> In file included from
>> d:\pwgcc-native\bin\../lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/objbase.h:151:0,
>> from
>> d:\pwgcc-native\bin\../lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/ole2.h:16,
>> from
>> d:\pwgcc-native\bin\../lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/windows.h:97,
>> from ..\src\test\testwindows.cc:8:
>> d:\pwgcc-native\bin\../lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/unknwn.h:
>> In member function 'HRESULT IUnknown::QueryInterface(Q**)':
>> d:\pwgcc-native\bin\../lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/unknwn.h:70:82:
>> error: argument in position '1' is not a potential constant expression
>> d:\pwgcc-native\bin\../lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/unknwn.h:70:82:
>> error: parse error in template argument list
>>
>> Source is:
>> =====================
>>
>> #include <windows.h>
>>
>> void
>> foo(int& value)
>> {
>>
>> }
>>
>> =====================
>>
>>
>> CRT is latest trunk (revision 4307).
>>
>> best regards,
>> Alen
>>
>
>
As of r4313, this is solved. I forgot to mention that I used c++0x strict
mode.
thank you.
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public