Martin Sebor wrote:
[...]
Finally, every function is extern by default. There is no need
to explicitly declare it as such (I believe there are compilers
that warn about function definitions with the extern keyword).

FYI, here's an example of the diagnostic (issued by HP aCC 6)
from our nightly builds I was referring to above:

"$(TOPDIR)/src/ti_num_get.cpp", line 51: remark #4244-D: extern storage class used with a function definition _RWSTD_DEFINE_FACET_FACTORY (extern _RWSTD_EXPORT, num_get, TARGS_C, num_get);
  ^


Martin


Brad.

-----Original Message-----
From: Eric Lemings [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 15, 2008 3:26 PM
To: [email protected]
Subject: New 27.basic.ios.cpp test migrated (LONG)

I've migrated an older test for integration into the test suite. The
original 27_basic_ios.cpp source file is attached for comparision to
the new version shown below with some commentary.

file tests/iostream/27.basic.ios.cpp:

  1
/*************************************************************
**********
****
  2  *
  3  * 27.basic.ios.cpp - test exercising the class template basic_ios
  4  *
  5  * $Id: //stdcxx/trunk/tests/iostream/27_basic_ios.cpp#1 $
  6  *
  7
**************************************************************
**********
***
  8  *
  9  * Licensed to the Apache Software  Foundation (ASF) under one or
more
 10  * contributor  license agreements.  See  the NOTICE  file
distributed
 11  * with  this  work  for  additional information  regarding
copyright
 12  * ownership.   The ASF  licenses this  file to  you under  the
Apache
 13  * License, Version  2.0 (the  "License"); you may  not use  this
file
 14  * except in  compliance with the License.   You may obtain  a copy
of
 15  * the License at
 16  *
 17  * http://www.apache.org/licenses/LICENSE-2.0
 18  *
 19  * Unless required by applicable law or agreed to in writing,
software
 20  * distributed under the  License is distributed on an  "AS IS"
BASIS,
 21  * WITHOUT  WARRANTIES OR CONDITIONS  OF ANY  KIND, either  express
or
 22  * implied.   See  the License  for  the  specific language
governing
 23  * permissions and limitations under the License.
 24  *
 25  * Copyright 1994-2008 Rogue Wave Software.
 26  *
 27
**************************************************************
**********
**/
...


Reply via email to