I can confirm this error on Win32, MSVC 9.0. It seems to be a problem of friendship specification between classes. The MSVC compiler needs to know the class. Unfortunately I'm not familiar with the code or the template class specifications. Maybe Andrew Mihal can clearify the case, because he introduced the changes in the latest CVS revision, which yields to the failed build on MSVC.
Thanks for the reply, Guido. I am trying to sort through it but it is
tough going not being familiar with the code. I put in a support
request on the project tracker. Hopefully Andrew will step in with a
solution.
On Jul 31, 4:35 pm, Guido Kohlmeyer <d...@gekko-design.de> wrote:
> I can confirm this error on Win32, MSVC 9.0.
> It seems to be a problem of friendship specification between classes.
> The MSVC compiler needs to know the class. Unfortunately I'm not
> familiar with the code or the template class specifications.
> Maybe Andrew Mihal can clearify the case, because he introduced the
> changes in the latest CVS revision, which yields to the failed build on
> MSVC.
> Guido
> hbl schrieb:
> > bump
> > On Jul 27, 4:18 pm, hbl <hblar...@comcast.net> wrote:
> >> Building the latest enblend_msvc2008, fails in enfuse at the following
> >> line:
> >> class NotifyingDirectionSelector<UnstridedArrayTag, T, Notify>
> >> {
> >> friend class Notify::self_type; //error C2242
> >> Is anyone else getting this error?- Hide quoted text -
hbl wrote: > Thanks for the reply, Guido. I am trying to sort through it but it is > tough going not being familiar with the code. I put in a support > request on the project tracker. Hopefully Andrew will step in with a > solution.
> On Jul 31, 4:35 pm, Guido Kohlmeyer <d...@gekko-design.de> wrote:
>> I can confirm this error on Win32, MSVC 9.0. >> It seems to be a problem of friendship specification between classes. >> The MSVC compiler needs to know the class. Unfortunately I'm not >> familiar with the code or the template class specifications. >> Maybe Andrew Mihal can clearify the case, because he introduced the >> changes in the latest CVS revision, which yields to the failed build on >> MSVC.
>> Guido
>> hbl schrieb:
>>> bump
>>> On Jul 27, 4:18 pm, hbl <hblar...@comcast.net> wrote:
>>>> Building the latest enblend_msvc2008, fails in enfuse at the following >>>> line:
>>>> class NotifyingDirectionSelector<UnstridedArrayTag, T, Notify> >>>> { >>>> friend class Notify::self_type; //error C2242
>>>> Is anyone else getting this error?- Hide quoted text -
> Using 'typename' instead of 'class' should fix the problem. Ie.
> friend typename Notify::self_type;
> -Fahim
> hbl wrote: >> Thanks for the reply, Guido. I am trying to sort through it but it is >> tough going not being familiar with the code. I put in a support >> request on the project tracker. Hopefully Andrew will step in with a >> solution.
>> On Jul 31, 4:35 pm, Guido Kohlmeyer <d...@gekko-design.de> wrote:
>>> I can confirm this error on Win32, MSVC 9.0. >>> It seems to be a problem of friendship specification between classes. >>> The MSVC compiler needs to know the class. Unfortunately I'm not >>> familiar with the code or the template class specifications. >>> Maybe Andrew Mihal can clearify the case, because he introduced the >>> changes in the latest CVS revision, which yields to the failed build on >>> MSVC.
>>> Guido
>>> hbl schrieb:
>>>> bump
>>>> On Jul 27, 4:18 pm, hbl <hblar...@comcast.net> wrote:
>>>>> Building the latest enblend_msvc2008, fails in enfuse at the following >>>>> line:
>>>>> class NotifyingDirectionSelector<UnstridedArrayTag, T, Notify> >>>>> { >>>>> friend class Notify::self_type; //error C2242
>>>>> Is anyone else getting this error?- Hide quoted text -
> Thank you for this hint. After small modification as suggested the build > processed finished successfully.
> Guido
> Fahim Mannan schrieb: >> Hi,
>> Using 'typename' instead of 'class' should fix the problem. Ie.
>> friend typename Notify::self_type;
>> -Fahim
>> hbl wrote: >>> Thanks for the reply, Guido. I am trying to sort through it but it is >>> tough going not being familiar with the code. I put in a support >>> request on the project tracker. Hopefully Andrew will step in with a >>> solution.
>>> On Jul 31, 4:35 pm, Guido Kohlmeyer <d...@gekko-design.de> wrote:
>>>> I can confirm this error on Win32, MSVC 9.0. >>>> It seems to be a problem of friendship specification between classes. >>>> The MSVC compiler needs to know the class. Unfortunately I'm not >>>> familiar with the code or the template class specifications. >>>> Maybe Andrew Mihal can clearify the case, because he introduced the >>>> changes in the latest CVS revision, which yields to the failed build on >>>> MSVC.
>>>> Guido
>>>> hbl schrieb:
>>>>> bump
>>>>> On Jul 27, 4:18 pm, hbl <hblar...@comcast.net> wrote:
>>>>>> Building the latest enblend_msvc2008, fails in enfuse at the following >>>>>> line:
>>>>>> class NotifyingDirectionSelector<UnstridedArrayTag, T, Notify> >>>>>> { >>>>>> friend class Notify::self_type; //error C2242
>>>>>> Is anyone else getting this error?- Hide quoted text -
> Confirm here on MSVC 8 EE - works like a charm. Patch attached. Thanks
> Fahim!
> Guido Kohlmeyer wrote:
> > Dear Fahim,
> > Thank you for this hint. After small modification as suggested the build
> > processed finished successfully.
> > Guido
> > Fahim Mannan schrieb:
> >> Hi,
> >> Using 'typename' instead of 'class' should fix the problem. Ie.
> >> friend typename Notify::self_type;
> >> -Fahim
> >> hbl wrote:
> >>> Thanks for the reply, Guido. I am trying to sort through it but it is
> >>> tough going not being familiar with the code. I put in a support
> >>> request on the project tracker. Hopefully Andrew will step in with a
> >>> solution.
> >>>> I can confirm this error on Win32, MSVC 9.0.
> >>>> It seems to be a problem of friendship specification between classes.
> >>>> The MSVC compiler needs to know the class. Unfortunately I'm not
> >>>> familiar with the code or the template class specifications.
> >>>> Maybe Andrew Mihal can clearify the case, because he introduced the
> >>>> changes in the latest CVS revision, which yields to the failed build on
> >>>> MSVC.
> >>>> Guido
> >>>> hbl schrieb:
> >>>>> bump
> >>>>> On Jul 27, 4:18 pm, hbl <hblar...@comcast.net> wrote:
> >>>>>> Building the latest enblend_msvc2008, fails in enfuse at the following
> >>>>>> line:
> >>>>>> class NotifyingDirectionSelector<UnstridedArrayTag, T, Notify>
> >>>>>> {
> >>>>>> friend class Notify::self_type; //error C2242
> >>>>>> Is anyone else getting this error?- Hide quoted text -