Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
enblend solution build fails
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
hbl  
View profile  
 More options Jul 27 2008, 5:18 pm
From: hbl <hblar...@comcast.net>
Date: Sun, 27 Jul 2008 14:18:10 -0700 (PDT)
Local: Sun, Jul 27 2008 5:18 pm
Subject: enblend solution build fails
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?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hbl  
View profile  
 More options Jul 30 2008, 9:20 pm
From: hbl <hblar...@comcast.net>
Date: Wed, 30 Jul 2008 18:20:55 -0700 (PDT)
Local: Wed, Jul 30 2008 9:20 pm
Subject: Re: enblend solution build fails
bump

On Jul 27, 4:18 pm, hbl <hblar...@comcast.net> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Guido Kohlmeyer  
View profile  
 More options Jul 31 2008, 5:35 pm
From: Guido Kohlmeyer <d...@gekko-design.de>
Date: Thu, 31 Jul 2008 23:35:13 +0200
Local: Thurs, Jul 31 2008 5:35 pm
Subject: Re: [hugin-ptx] Re: enblend solution build fails
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:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hbl  
View profile  
 More options Jul 31 2008, 8:44 pm
From: hbl <hblar...@comcast.net>
Date: Thu, 31 Jul 2008 17:44:14 -0700 (PDT)
Local: Thurs, Jul 31 2008 8:44 pm
Subject: Re: enblend solution build fails
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:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fahim Mannan  
View profile  
 More options Aug 1 2008, 7:26 pm
From: Fahim Mannan <fman...@gmail.com>
Date: Fri, 01 Aug 2008 19:26:25 -0400
Local: Fri, Aug 1 2008 7:26 pm
Subject: [hugin-ptx] Re: enblend solution build fails
Hi,

Using 'typename' instead of 'class' should fix the problem. Ie.

friend typename Notify::self_type;

-Fahim


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Guido Kohlmeyer  
View profile  
 More options Aug 2 2008, 7:33 pm
From: Guido Kohlmeyer <d...@gekko-design.de>
Date: Sun, 03 Aug 2008 01:33:57 +0200
Local: Sat, Aug 2 2008 7:33 pm
Subject: Re: [hugin-ptx] enblend solution build fails
Dear Fahim,

Thank you for this hint. After small modification as suggested the build
processed finished successfully.

Guido

Fahim Mannan schrieb:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Yuval Levy  
View profile  
 More options Aug 2 2008, 7:40 pm
From: Yuval Levy <goo...@levy.ch>
Date: Sat, 02 Aug 2008 19:40:56 -0400
Local: Sat, Aug 2 2008 7:40 pm
Subject: Re: [hugin-ptx] Re: enblend solution build fails

Confirm here on MSVC 8 EE - works like a charm. Patch attached. Thanks
Fahim!

[ cachedfileimage.hxx.patch 1K ]
Index: cachedfileimage.hxx
===================================================================
RCS file: /cvsroot/enblend/enblend/include/vigra/cachedfileimage.hxx,v
retrieving revision 1.24
diff -u -r1.24 cachedfileimage.hxx
--- cachedfileimage.hxx 21 Jul 2008 04:48:26 -0000      1.24
+++ cachedfileimage.hxx 2 Aug 2008 23:27:32 -0000
@@ -552,7 +552,7 @@
 template <class T, class Notify>
 class NotifyingDirectionSelector<UnstridedArrayTag, T, Notify>
 {
-friend class Notify::self_type;
+friend typename Notify::self_type;
 protected:
     NotifyingDirectionSelector(T base = 0) : current_(base), notify_(NULL) {}
     NotifyingDirectionSelector(NotifyingDirectionSelector const & rhs) : current_(rhs.current_), notify_(NULL) {}
@@ -594,7 +594,7 @@

 template <class T, class Notify>
 class NotifyingDirectionSelector<StridedArrayTag, T, Notify> {
-friend class Notify::self_type;
+friend typename Notify::self_type;
 protected:
     NotifyingDirectionSelector(int stride = 1, T base = 0) : stride_(stride), current_(base), notify_(NULL) {}
     NotifyingDirectionSelector(NotifyingDirectionSelector const & rhs) : stride_(rhs.stride_), current_(rhs.current_), notify_(NULL) {}


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hbl  
View profile  
 More options Aug 4 2008, 2:15 pm
From: hbl <hblar...@comcast.net>
Date: Mon, 4 Aug 2008 11:15:40 -0700 (PDT)
Local: Mon, Aug 4 2008 2:15 pm
Subject: Re: enblend solution build fails
Confirm successful build using Visual C++ 2008 Express Edition.

On Aug 2, 6:40 pm, Yuval Levy <goo...@levy.ch> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google