You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by Eric Lemings <Er...@roguewave.com> on 2008/03/31 17:52:32 UTC

RE: svn commit: r642653 - /stdcxx/trunk/src/version.cpp

I was just looking at the following lines in this source file:

	file stdcxx/trunk/src/version.cpp:
	...
	  5  * $Id: version.cpp 642653 2008-03-30 00:23:31Z sebor $
	...
	 37 extern const char __rw_ident[] = {
	 38     "@(#) Rogue Wave C++ Standard Library version "
_RWSTD_VER_STR
	 39 };
	...

Shouldn't that string literal read "@(#) Apache C++ Standard Library
version " instead?

Brad. 

> -----Original Message-----
> From: sebor@apache.org [mailto:sebor@apache.org] 
> Sent: Saturday, March 29, 2008 6:24 PM
> To: commits@stdcxx.apache.org
> Subject: svn commit: r642653 - /stdcxx/trunk/src/version.cpp
> 
> Author: sebor
> Date: Sat Mar 29 17:23:31 2008
> New Revision: 642653
> 
> URL: http://svn.apache.org/viewvc?rev=642653&view=rev
> Log:
> 2008-03-29  Martin Sebor  <se...@roguewave.com>
> 
> 	STDCXX-98
> 	* src/version (#pragma VERSIONID): Worked around an HP 
> aCC 3.63 ICE.
> 
> Modified:
>     stdcxx/trunk/src/version.cpp
> 
> Modified: stdcxx/trunk/src/version.cpp
> URL: 
> http://svn.apache.org/viewvc/stdcxx/trunk/src/version.cpp?rev=
> 642653&r1=642652&r2=642653&view=diff
> ==============================================================
> ================
> --- stdcxx/trunk/src/version.cpp (original)
> +++ stdcxx/trunk/src/version.cpp Sat Mar 29 17:23:31 2008
> @@ -22,7 +22,7 @@
>   * implied.   See  the License  for  the  specific language  
> governing
>   * permissions and limitations under the License.
>   *
> - * Copyright 1994-2006 Rogue Wave Software.
> + * Copyright 1994-2008 Rogue Wave Software, Inc.
>   * 
>   
> **************************************************************
> ************/
>  
> @@ -44,9 +44,28 @@
>  
>  
>  #ifdef __HP_aCC
> -#  pragma COPYRIGHT      "Rogue Wave Software"
> -#  pragma COPYRIGHT_DATE "1994-2007"
> -#  pragma VERSIONID      _RWSTD_VER_STR
> +#  pragma COPYRIGHT      "Rogue Wave Software, Inc."
> +#  pragma COPYRIGHT_DATE "1994-2008"
> +#  if 37300 <= __HP_aCC
> +#    pragma VERSIONID      _RWSTD_VER_STR
> +#  elif 0x04020000 == _RWSTD_VER
> +     // work around an HP aCC 3.63 and prior ICE (see STCXXX-98)
> +#    pragma VERSIONID      "4.2.0"
> +#  elif 0x04020100 == _RWSTD_VER
> +#    pragma VERSIONID      "4.2.1"
> +#  elif 0x04020200 == _RWSTD_VER
> +#    pragma VERSIONID      "4.2.2"
> +#  elif 0x04020300 == _RWSTD_VER
> +#    pragma VERSIONID      "4.2.3"
> +#  elif 0x04030000 == _RWSTD_VER
> +#    pragma VERSIONID      "4.3.0"
> +#  elif 0x04030100 == _RWSTD_VER
> +#    pragma VERSIONID      "4.3.1"
> +#  elif 0x04030200 == _RWSTD_VER
> +#    pragma VERSIONID      "4.3.2"
> +#  elif 0x05000000 == _RWSTD_VER
> +#    pragma VERSIONID      "5.0.0"
> +#  endif   // HP aCC < 3.73
>  #elif defined (__IBMCPP__)
> -#  pragma comment (copyright, "(C) 1994-2007, Rogue Wave Software")
> +#  pragma comment (copyright, "(C) 1994-2008, Rogue Wave 
> Software, Inc.")
>  #endif   // __HP_aCC
> 
> 
> 

Re: svn commit: r642653 - /stdcxx/trunk/src/version.cpp

Posted by Martin Sebor <se...@roguewave.com>.
Eric Lemings wrote:
> I was just looking at the following lines in this source file:
> 
> 	file stdcxx/trunk/src/version.cpp:
> 	...
> 	  5  * $Id: version.cpp 642653 2008-03-30 00:23:31Z sebor $
> 	...
> 	 37 extern const char __rw_ident[] = {
> 	 38     "@(#) Rogue Wave C++ Standard Library version "
> _RWSTD_VER_STR
> 	 39 };
> 	...
> 
> Shouldn't that string literal read "@(#) Apache C++ Standard Library
> version " instead?

It sure should! I can't believe I didn't notice it when I was working
on the file over the weekend.  I updated it in
http://svn.apache.org/viewcvs?view=rev&rev=643039

Thanks for pointing it out!

Martin

> 
> Brad. 
> 
>> -----Original Message-----
>> From: sebor@apache.org [mailto:sebor@apache.org] 
>> Sent: Saturday, March 29, 2008 6:24 PM
>> To: commits@stdcxx.apache.org
>> Subject: svn commit: r642653 - /stdcxx/trunk/src/version.cpp
>>
>> Author: sebor
>> Date: Sat Mar 29 17:23:31 2008
>> New Revision: 642653
>>
>> URL: http://svn.apache.org/viewvc?rev=642653&view=rev
>> Log:
>> 2008-03-29  Martin Sebor  <se...@roguewave.com>
>>
>> 	STDCXX-98
>> 	* src/version (#pragma VERSIONID): Worked around an HP 
>> aCC 3.63 ICE.
>>
>> Modified:
>>     stdcxx/trunk/src/version.cpp
>>
>> Modified: stdcxx/trunk/src/version.cpp
>> URL: 
>> http://svn.apache.org/viewvc/stdcxx/trunk/src/version.cpp?rev=
>> 642653&r1=642652&r2=642653&view=diff
>> ==============================================================
>> ================
>> --- stdcxx/trunk/src/version.cpp (original)
>> +++ stdcxx/trunk/src/version.cpp Sat Mar 29 17:23:31 2008
>> @@ -22,7 +22,7 @@
>>   * implied.   See  the License  for  the  specific language  
>> governing
>>   * permissions and limitations under the License.
>>   *
>> - * Copyright 1994-2006 Rogue Wave Software.
>> + * Copyright 1994-2008 Rogue Wave Software, Inc.
>>   * 
>>   
>> **************************************************************
>> ************/
>>  
>> @@ -44,9 +44,28 @@
>>  
>>  
>>  #ifdef __HP_aCC
>> -#  pragma COPYRIGHT      "Rogue Wave Software"
>> -#  pragma COPYRIGHT_DATE "1994-2007"
>> -#  pragma VERSIONID      _RWSTD_VER_STR
>> +#  pragma COPYRIGHT      "Rogue Wave Software, Inc."
>> +#  pragma COPYRIGHT_DATE "1994-2008"
>> +#  if 37300 <= __HP_aCC
>> +#    pragma VERSIONID      _RWSTD_VER_STR
>> +#  elif 0x04020000 == _RWSTD_VER
>> +     // work around an HP aCC 3.63 and prior ICE (see STCXXX-98)
>> +#    pragma VERSIONID      "4.2.0"
>> +#  elif 0x04020100 == _RWSTD_VER
>> +#    pragma VERSIONID      "4.2.1"
>> +#  elif 0x04020200 == _RWSTD_VER
>> +#    pragma VERSIONID      "4.2.2"
>> +#  elif 0x04020300 == _RWSTD_VER
>> +#    pragma VERSIONID      "4.2.3"
>> +#  elif 0x04030000 == _RWSTD_VER
>> +#    pragma VERSIONID      "4.3.0"
>> +#  elif 0x04030100 == _RWSTD_VER
>> +#    pragma VERSIONID      "4.3.1"
>> +#  elif 0x04030200 == _RWSTD_VER
>> +#    pragma VERSIONID      "4.3.2"
>> +#  elif 0x05000000 == _RWSTD_VER
>> +#    pragma VERSIONID      "5.0.0"
>> +#  endif   // HP aCC < 3.73
>>  #elif defined (__IBMCPP__)
>> -#  pragma comment (copyright, "(C) 1994-2007, Rogue Wave Software")
>> +#  pragma comment (copyright, "(C) 1994-2008, Rogue Wave 
>> Software, Inc.")
>>  #endif   // __HP_aCC
>>
>>
>>
>