You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2008/05/21 20:03:55 UTC

[jira] Commented: (STDCXX-942) [HP aCC 3.73] error on parenthesized qualified member function pointer declaration

    [ https://issues.apache.org/jira/browse/STDCXX-942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12598736#action_12598736 ] 

Martin Sebor commented on STDCXX-942:
-------------------------------------

Response from HP:
{quote}
aCC A.03.80  compiles this test case  clean with [{{+hpxstd98}}|http://docs.hp.com/en/11920/HP%20aC++%20Online%20Programmer's%20Guide/options.htm#opt+hpxstd98]
We wont be fixing the default mode in aCC if it is already fixed with +hpxstd98 .
{quote}

> [HP aCC 3.73] error on parenthesized qualified member function pointer declaration
> ----------------------------------------------------------------------------------
>
>                 Key: STDCXX-942
>                 URL: https://issues.apache.org/jira/browse/STDCXX-942
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: External
>         Environment: aCC: HP ANSI C++ B3910B A.03.73
>            Reporter: Martin Sebor
>
> ------- Original Message --------
> Subject: Re: aCC 3.73 error on parenthesized qualified member function pointer declaration
> Date: Wed, 21 May 2008 11:28:52 -0600
> From: Martin Sebor <sebor AT roguewave DOT com>
> Organization: Rogue Wave Software, Inc.
> To: acxx AT cup DOT hp DOT com
> CC: Eric Lemings <lemings AT roguewave DOT com>
> References: <4834498A DOT 9030804 AT roguewave DOT com>
> The test case can be simplified a little bit further:
> namespace N {
>     struct S {
>         void foo () { void (S::*pf)(N::S&); }
>     };
> }
> aCC: HP ANSI C++ B3910B A.03.73
> Error 420: "t.cpp", line 3 # Syntax error in class or function declaration.
>             void foo () { void (S::*pf)(N::S&); }
>                                 ^
> Error 231: "t.cpp", line 3 # The underlying type to which a pointer, 
> reference or pointer to member refers must not be a reference.
>             void foo () { void (S::*pf)(N::S&); }
>                                 ^^^^
> Martin Sebor wrote:
> > I don't think we've reported this one yet:
> > 
> > $ cat t.cpp && aCC -c -V t.cpp
> > namespace N {
> >     template <class T> struct S {
> >         void foo () { void (N::S<T>::*pf)(); }
> >     };
> > }
> > 
> > int main () { N::S<int>().foo (); }
> > 
> > aCC: HP ANSI C++ B3910B A.03.73
> > Error 420: "t.cpp", line 3 # Syntax error in class or function declaration.
> >             void foo () { void (N::S<T>::*pf)(); }
> >                                 ^
> > Error 231: "t.cpp", line 3 # The underlying type to which a pointer, 
> > reference or pointer to member refers must not be a reference.
> >             void foo () { void (N::S<T>::*pf)(); }
> >                                 ^^^^^^^^^^

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.