stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Travis Vitek (JIRA)" <j...@apache.org>
Subject [jira] Updated: (STDCXX-603) [IBM XLC++ 9.0] unsats on std::valarray<S>::apply() in 26.valarray.members.stdcxx-313.cpp
Date Tue, 04 Dec 2007 22:26:43 GMT

     [ https://issues.apache.org/jira/browse/STDCXX-603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Travis Vitek updated STDCXX-603:
--------------------------------

    Attachment: stdcxx-603.patch

This isn't the prettiest solution, but it does work. Instead of using the `value_type' typedef
in the function type parameter declaration, we use the actual template type. We could change
the rest of the header to be internally consistent, but that would be inconsistent with other
class template member function definitions.

2007-12-04  Travis Vitek  <vitek@roguewave.com>

	STDCXX-603
	* include/valarray (apply): Avoid use of typedef in function
	type to avoid linker error with VisualAge C++.

> [IBM XLC++ 9.0] unsats on std::valarray<S>::apply() in 26.valarray.members.stdcxx-313.cpp
> -----------------------------------------------------------------------------------------
>
>                 Key: STDCXX-603
>                 URL: https://issues.apache.org/jira/browse/STDCXX-603
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 4.2.0
>         Environment: IBM XLC++ 9.0/AIX 5.3
>            Reporter: Martin Sebor
>            Assignee: Travis Vitek
>             Fix For: 4.2.1
>
>         Attachments: stdcxx-603.patch
>
>
> The 26.valarray.members.stdcxx-313.cpp regression test fails to link with IBM XLC++ 9.0
on AIX 5.3:
> xlCcore_r -c -I$(TOPDIR)/include/ansi    -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/tests/include
 -O -Q     -qtemplateregistry=26.valarray.members.stdcxx-313.ti $(TOPDIR)/tests/regress/26.valarray.members.stdcxx-313.cpp
> xlCcore_r 26.valarray.members.stdcxx-313.o -o 26.valarray.members.stdcxx-313 -L$(BUILDDIR)/rwtest
-lrwtest -I$(TOPDIR)/include/ansi    -liconv -Wl,-bh:5    -L$(BUILDDIR)/lib  -Wl,-bsvr4,-R$(BUILDDIR)/lib:$(BUILDDIR)/rwtest
-lstd  -lm -qtemplateregistry=26.valarray.members.stdcxx-313.ti
> ld: 0711-317 ERROR: Undefined symbol: .std::valarray<S>::apply(S(*)(S)) const
> ld: 0711-317 ERROR: Undefined symbol: .std::valarray<S>::apply(S(*)(const S&))
const
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
> gmake: *** [26.valarray.members.stdcxx-313] Error 8

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


Mime
View raw message