[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-stdcxx-dev
Subject: [jira] Commented: (STDCXX-389) [HP aCC 3.73] fails to deduce
From: "Martin Sebor (JIRA)" <jira () apache ! org>
Date: 2007-04-11 17:44:35
Message-ID: 25175651.1176313475331.JavaMail.jira () brutus
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/STDCXX-389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12488127 \
]
Martin Sebor commented on STDCXX-389:
-------------------------------------
-------- Original Message --------
Subject: Re: aCC 3.73 fails to deduce volatile T
Date: Mon, 9 Apr 2007 20:33:02 -0700 (PDT)
From: Dennis Handly <dhandly@cup.hp.com>
To: acxx@cup.hp.com, sebor@roguewave.com
> From: Martin Sebor <sebor@roguewave.com>
> The program below fails to compile with 3.73 (it compiles fine
> with the EDG-based compilers).
This seems to be fixed with the CR I filed for you before:
CR JAGag05950:
Error 902 on template overload, CV qualifier confusion
Of course it also works with +hpxstd98. ;-)
> [HP aCC 3.73] fails to deduce volatile T
> ----------------------------------------
>
> Key: STDCXX-389
> URL: https://issues.apache.org/jira/browse/STDCXX-389
> Project: C++ Standard Library
> Issue Type: Bug
> Components: External
> Environment: HP aCC 3.73
> Reporter: Martin Sebor
>
> -------- Original Message --------
> Subject: aCC 3.73 fails to deduce volatile T
> Date: Mon, 09 Apr 2007 10:55:33 -0600
> From: Martin Sebor <sebor@roguewave.com>
> Organization: Rogue Wave Software
> To: acxx@cup.hp.com
> The program below fails to compile with 3.73 (it compiles fine
> with the EDG-based compilers).
> Martin
> $ cat t.cpp && aCC -AA -V t.cpp
> template <class T> void foo (const T*) { }
> int main () { foo ((const volatile void*)0); }
> aCC: HP ANSI C++ B3910B A.03.73
> Error 226: "t.cpp", line 2 # No appropriate function found for call of
> 'foo'. Last viable candidate was "void foo<void>(const void *)"
> ["t.cpp", line 1]. Argument of type 'const volatile void *' could not be
> converted to 'const void *'.
> int main () { foo ((const volatile void*)0); }
> ^^^
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic