Index: src/ABS_OVERLOADS.cpp =================================================================== --- src/ABS_OVERLOADS.cpp (revision 576517) +++ src/ABS_OVERLOADS.cpp (working copy) @@ -1,5 +1,27 @@ // checking for overloads of abs() +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + // determine whether the abs() function (including // any overloads) is defined in the usual libc headers Index: src/ATOMIC_OPS.cpp =================================================================== --- src/ATOMIC_OPS.cpp (revision 576517) +++ src/ATOMIC_OPS.cpp (working copy) @@ -1,5 +1,27 @@ // checking for atomic operations +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #if defined (_WIN32) && !defined (_WIN64) #include Index: src/BAD_ALLOC_ASSIGNMENT.cpp =================================================================== --- src/BAD_ALLOC_ASSIGNMENT.cpp (revision 576517) +++ src/BAD_ALLOC_ASSIGNMENT.cpp (working copy) @@ -1,5 +1,27 @@ // checking for bad_alloc assignment operator +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + // NOTE: this file is #included from the following tests, // each of which #defines bad_alloc to the name of // the corresponding exception class, and exercises Index: src/BAD_ALLOC_COPY_CTOR.cpp =================================================================== --- src/BAD_ALLOC_COPY_CTOR.cpp (revision 576517) +++ src/BAD_ALLOC_COPY_CTOR.cpp (working copy) @@ -1,5 +1,27 @@ // checking for bad_alloc copy ctor +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if 0 // guard invalid preprocessor symbol below Index: src/BAD_ALLOC_DEFAULT_CTOR.cpp =================================================================== --- src/BAD_ALLOC_DEFAULT_CTOR.cpp (revision 576517) +++ src/BAD_ALLOC_DEFAULT_CTOR.cpp (working copy) @@ -1,5 +1,27 @@ // checking for bad_alloc default ctor +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if 0 // guard invalid preprocessor symbol below Index: src/BAD_ALLOC_DTOR.cpp =================================================================== --- src/BAD_ALLOC_DTOR.cpp (revision 576517) +++ src/BAD_ALLOC_DTOR.cpp (working copy) @@ -1,5 +1,27 @@ // checking for bad_alloc dtor +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if 0 // guard invalid preprocessor symbol below Index: src/BAD_ALLOC_WHAT.cpp =================================================================== --- src/BAD_ALLOC_WHAT.cpp (revision 576517) +++ src/BAD_ALLOC_WHAT.cpp (working copy) @@ -1,5 +1,27 @@ // checking for bad_alloc::what() +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if 0 // guard invalid preprocessor symbol below Index: src/BAD_CAST_ASSIGNMENT.cpp =================================================================== --- src/BAD_CAST_ASSIGNMENT.cpp (revision 576517) +++ src/BAD_CAST_ASSIGNMENT.cpp (working copy) @@ -1,5 +1,27 @@ // checking for bad_cast assignment operator +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if 0 // guard invalid preprocessor symbol below Index: src/BAD_CAST_COPY_CTOR.cpp =================================================================== --- src/BAD_CAST_COPY_CTOR.cpp (revision 576517) +++ src/BAD_CAST_COPY_CTOR.cpp (working copy) @@ -1,5 +1,27 @@ // checking for bad_cast copy ctor +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if 0 // guard invalid preprocessor symbol below Index: src/BAD_CAST_DEFAULT_CTOR.cpp =================================================================== --- src/BAD_CAST_DEFAULT_CTOR.cpp (revision 576517) +++ src/BAD_CAST_DEFAULT_CTOR.cpp (working copy) @@ -1,5 +1,27 @@ // checking for bad_cast default ctor +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if 0 // guard invalid preprocessor symbol below Index: src/BAD_CAST_DTOR.cpp =================================================================== --- src/BAD_CAST_DTOR.cpp (revision 576517) +++ src/BAD_CAST_DTOR.cpp (working copy) @@ -1,5 +1,27 @@ // checking for bad_cast dtor +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if 0 // guard invalid preprocessor symbol below Index: src/BAD_CAST_WHAT.cpp =================================================================== --- src/BAD_CAST_WHAT.cpp (revision 576517) +++ src/BAD_CAST_WHAT.cpp (working copy) @@ -1,5 +1,27 @@ // checking for bad_cast::what() +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if 0 // guard invalid preprocessor symbol below Index: src/BAD_EXCEPTION_ASSIGNMENT.cpp =================================================================== --- src/BAD_EXCEPTION_ASSIGNMENT.cpp (revision 576517) +++ src/BAD_EXCEPTION_ASSIGNMENT.cpp (working copy) @@ -1,5 +1,27 @@ // checking for bad_exception assignment operator +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if 0 // guard invalid preprocessor symbol below Index: src/BAD_EXCEPTION_COPY_CTOR.cpp =================================================================== --- src/BAD_EXCEPTION_COPY_CTOR.cpp (revision 576517) +++ src/BAD_EXCEPTION_COPY_CTOR.cpp (working copy) @@ -1,5 +1,27 @@ // checking for bad_exception copy ctor +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if 0 // guard invalid preprocessor symbol below Index: src/BAD_EXCEPTION_DEFAULT_CTOR.cpp =================================================================== --- src/BAD_EXCEPTION_DEFAULT_CTOR.cpp (revision 576517) +++ src/BAD_EXCEPTION_DEFAULT_CTOR.cpp (working copy) @@ -1,5 +1,27 @@ // checking for bad_exception default ctor +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if 0 // guard invalid preprocessor symbol below Index: src/BAD_EXCEPTION_DTOR.cpp =================================================================== --- src/BAD_EXCEPTION_DTOR.cpp (revision 576517) +++ src/BAD_EXCEPTION_DTOR.cpp (working copy) @@ -1,5 +1,27 @@ // checking for bad_exception dtor +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if 0 // guard invalid preprocessor symbol below Index: src/BAD_EXCEPTION_WHAT.cpp =================================================================== --- src/BAD_EXCEPTION_WHAT.cpp (revision 576517) +++ src/BAD_EXCEPTION_WHAT.cpp (working copy) @@ -1,5 +1,27 @@ // checking for bad_exception::what() +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if 0 // guard invalid preprocessor symbol below Index: src/BAD_TYPEID_ASSIGNMENT.cpp =================================================================== --- src/BAD_TYPEID_ASSIGNMENT.cpp (revision 576517) +++ src/BAD_TYPEID_ASSIGNMENT.cpp (working copy) @@ -1,5 +1,27 @@ // checking for bad_typeid assignment operator +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if 0 // guard invalid preprocessor symbol below Index: src/BAD_TYPEID_COPY_CTOR.cpp =================================================================== --- src/BAD_TYPEID_COPY_CTOR.cpp (revision 576517) +++ src/BAD_TYPEID_COPY_CTOR.cpp (working copy) @@ -1,5 +1,27 @@ // checking for bad_typeid copy ctor +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if 0 // guard invalid preprocessor symbol below Index: src/BAD_TYPEID_DEFAULT_CTOR.cpp =================================================================== --- src/BAD_TYPEID_DEFAULT_CTOR.cpp (revision 576517) +++ src/BAD_TYPEID_DEFAULT_CTOR.cpp (working copy) @@ -1,5 +1,27 @@ // checking for bad_typeid default ctor +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if 0 // guard invalid preprocessor symbol below Index: src/BAD_TYPEID_DTOR.cpp =================================================================== --- src/BAD_TYPEID_DTOR.cpp (revision 576517) +++ src/BAD_TYPEID_DTOR.cpp (working copy) @@ -1,5 +1,27 @@ // checking for bad_typeid dtor +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if 0 // guard invalid preprocessor symbol below Index: src/BAD_TYPEID_WHAT.cpp =================================================================== --- src/BAD_TYPEID_WHAT.cpp (revision 576517) +++ src/BAD_TYPEID_WHAT.cpp (working copy) @@ -1,5 +1,27 @@ // checking for bad_typeid::what() +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if 0 // guard invalid preprocessor symbol below Index: src/BOOL.cpp =================================================================== --- src/BOOL.cpp (revision 576517) +++ src/BOOL.cpp (working copy) @@ -1,5 +1,27 @@ // checking bool, false, and true keywords +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" bool b = true && !false; Index: src/CLASS_PARTIAL_SPEC.cpp =================================================================== --- src/CLASS_PARTIAL_SPEC.cpp (revision 576517) +++ src/CLASS_PARTIAL_SPEC.cpp (working copy) @@ -1,5 +1,27 @@ // checking partial template specialization +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" // primary template Index: src/COLLAPSE_STATIC_LOCALS.cpp =================================================================== --- src/COLLAPSE_STATIC_LOCALS.cpp (revision 576517) +++ src/COLLAPSE_STATIC_LOCALS.cpp (working copy) @@ -1,5 +1,27 @@ // checking static locals in inline code +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if 0 // guard invalid preprocessor symbol below Index: src/collapse_static_locals.lib.cpp =================================================================== --- src/collapse_static_locals.lib.cpp (revision 576517) +++ src/collapse_static_locals.lib.cpp (working copy) @@ -1,4 +1,26 @@ +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + // also defined in COLLAPSE_STATIC_LOCALS.cpp inline int foo () { Index: src/COLLAPSE_TEMPLATE_LOCALS.cpp =================================================================== --- src/COLLAPSE_TEMPLATE_LOCALS.cpp (revision 576517) +++ src/COLLAPSE_TEMPLATE_LOCALS.cpp (working copy) @@ -1,5 +1,27 @@ // checking static locals in template code +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if 0 // guard invalid preprocessor symbol below Index: src/collapse_template_locals.lib.cpp =================================================================== --- src/collapse_template_locals.lib.cpp (revision 576517) +++ src/collapse_template_locals.lib.cpp (working copy) @@ -1,4 +1,26 @@ +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + // also defined in COLLAPSE_TEMPLATE_STATICS.cpp template T foo (T) Index: src/COLLAPSE_TEMPLATE_STATICS.cpp =================================================================== --- src/COLLAPSE_TEMPLATE_STATICS.cpp (revision 576517) +++ src/COLLAPSE_TEMPLATE_STATICS.cpp (working copy) @@ -1,5 +1,27 @@ // checking static template members +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if 0 // guard invalid preprocessor symbol below Index: src/collapse_template_statics.lib.cpp =================================================================== --- src/collapse_template_statics.lib.cpp (revision 576517) +++ src/collapse_template_statics.lib.cpp (working copy) @@ -1,4 +1,26 @@ + +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ // also defined in COLLAPSE_TEMPLATE_STATICS.cpp template struct S Index: src/CONST_CAST.cpp =================================================================== --- src/CONST_CAST.cpp (revision 576517) +++ src/CONST_CAST.cpp (working copy) @@ -1,5 +1,27 @@ // checking for const_cast +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + const char *s1 = 0; char *s2 = const_cast(s1); const char *s3 = const_cast(s2); Index: src/CTYPE_BITS.cpp =================================================================== --- src/CTYPE_BITS.cpp (revision 576517) +++ src/CTYPE_BITS.cpp (working copy) @@ -1,5 +1,27 @@ // checking for ctype constants +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include #include Index: src/CV_VOID_SPECIALIZATIONS.cpp =================================================================== --- src/CV_VOID_SPECIALIZATIONS.cpp (revision 576517) +++ src/CV_VOID_SPECIALIZATIONS.cpp (working copy) @@ -1,5 +1,27 @@ // checking for cv qualifiers on type void +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #ifdef _RWSTD_NO_NEW_CLASS_TEMPLATE_SYNTAX Index: src/DAYLIGHT.cpp =================================================================== --- src/DAYLIGHT.cpp (revision 576517) +++ src/DAYLIGHT.cpp (working copy) @@ -1,5 +1,27 @@ // checking for daylight variable in +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include // check to see if the XSI extension to POSIX, daylight, Index: src/DEFAULT_TEMPLATE_ARGS.cpp =================================================================== --- src/DEFAULT_TEMPLATE_ARGS.cpp (revision 576517) +++ src/DEFAULT_TEMPLATE_ARGS.cpp (working copy) @@ -1,5 +1,27 @@ // checking default template arguments +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" template Index: src/DEPENDENT_TEMPLATE.cpp =================================================================== --- src/DEPENDENT_TEMPLATE.cpp (revision 576517) +++ src/DEPENDENT_TEMPLATE.cpp (working copy) @@ -1,5 +1,27 @@ // checking for dependent template +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #ifdef _RWSTD_NO_TYPENAME Index: src/DEPRECATED_LIBC_IN_STD.cpp =================================================================== --- src/DEPRECATED_LIBC_IN_STD.cpp (revision 576517) +++ src/DEPRECATED_LIBC_IN_STD.cpp (working copy) @@ -1,5 +1,27 @@ // checking deprecated C headers and namespace std +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include #include #include Index: src/DIV_OVERLOADS.cpp =================================================================== --- src/DIV_OVERLOADS.cpp (revision 576517) +++ src/DIV_OVERLOADS.cpp (working copy) @@ -1,5 +1,27 @@ // checking for overloads of div() +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + // determine whether the div() function (including // any overloads) is defined in the usual libc headers Index: src/DUMMY_DEFAULT_ARG.cpp =================================================================== --- src/DUMMY_DEFAULT_ARG.cpp (revision 576517) +++ src/DUMMY_DEFAULT_ARG.cpp (working copy) @@ -1,5 +1,27 @@ // checking for dummy default arguments +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + template T foo (const T* = 0) { return T (); } Index: src/DYNAMIC_CAST.cpp =================================================================== --- src/DYNAMIC_CAST.cpp (revision 576517) +++ src/DYNAMIC_CAST.cpp (working copy) @@ -1,5 +1,27 @@ // checking for dynamic_cast +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if (defined (_WIN32) || defined (_WIN64)) && !defined (__CYGWIN__) Index: src/EMPTY_MEM_INITIALIZER.cpp =================================================================== --- src/EMPTY_MEM_INITIALIZER.cpp (revision 576517) +++ src/EMPTY_MEM_INITIALIZER.cpp (working copy) @@ -1,5 +1,27 @@ // checking for empty mem-initializer arglist +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + template struct S { Index: src/EXCEPTION_ASSIGNMENT.cpp =================================================================== --- src/EXCEPTION_ASSIGNMENT.cpp (revision 576517) +++ src/EXCEPTION_ASSIGNMENT.cpp (working copy) @@ -1,5 +1,27 @@ // checking for exception assignment operator +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if 0 // guard invalid preprocessor symbol below Index: src/EXCEPTION_COPY_CTOR.cpp =================================================================== --- src/EXCEPTION_COPY_CTOR.cpp (revision 576517) +++ src/EXCEPTION_COPY_CTOR.cpp (working copy) @@ -1,5 +1,27 @@ // checking for exception copy ctor +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if 0 // guard invalid preprocessor symbol below Index: src/EXCEPTION_DEFAULT_CTOR.cpp =================================================================== --- src/EXCEPTION_DEFAULT_CTOR.cpp (revision 576517) +++ src/EXCEPTION_DEFAULT_CTOR.cpp (working copy) @@ -1,5 +1,27 @@ // checking for exception default ctor +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if 0 // guard invalid preprocessor symbol below Index: src/EXCEPTION_DTOR.cpp =================================================================== --- src/EXCEPTION_DTOR.cpp (revision 576517) +++ src/EXCEPTION_DTOR.cpp (working copy) @@ -1,5 +1,27 @@ // checking for exception dtor +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if 0 // guard invalid preprocessor symbol below Index: src/EXCEPTION_SPECIFICATION.cpp =================================================================== --- src/EXCEPTION_SPECIFICATION.cpp (revision 576517) +++ src/EXCEPTION_SPECIFICATION.cpp (working copy) @@ -1,5 +1,27 @@ // checking exception specification +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #include Index: src/EXCEPTION_SPECIFICATION_ON_NEW.cpp =================================================================== --- src/EXCEPTION_SPECIFICATION_ON_NEW.cpp (revision 576517) +++ src/EXCEPTION_SPECIFICATION_ON_NEW.cpp (working copy) @@ -1,5 +1,27 @@ // checking for exception specification on new +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include #include "config.h" Index: src/EXCEPTION_WHAT.cpp =================================================================== --- src/EXCEPTION_WHAT.cpp (revision 576517) +++ src/EXCEPTION_WHAT.cpp (working copy) @@ -1,5 +1,27 @@ // checking for exception::what() +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if 0 // guard invalid preprocessor symbol below Index: src/EXCEPTIONS.cpp =================================================================== --- src/EXCEPTIONS.cpp (revision 576517) +++ src/EXCEPTIONS.cpp (working copy) @@ -1,5 +1,27 @@ // checking exceptions +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #ifndef _RWSTD_NO_HONOR_STD Index: src/EXPLICIT.cpp =================================================================== --- src/EXPLICIT.cpp (revision 576517) +++ src/EXPLICIT.cpp (working copy) @@ -1,5 +1,27 @@ // checking explicit keyword +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" struct S Index: src/EXPLICIT_ARG.cpp =================================================================== --- src/EXPLICIT_ARG.cpp (revision 576517) +++ src/EXPLICIT_ARG.cpp (working copy) @@ -1,5 +1,27 @@ // checking explicit function template arguments +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" Index: src/EXPLICIT_CTOR_INSTANTIATION.cpp =================================================================== --- src/EXPLICIT_CTOR_INSTANTIATION.cpp (revision 576517) +++ src/EXPLICIT_CTOR_INSTANTIATION.cpp (working copy) @@ -1,5 +1,27 @@ // checking for explicit instantiation of ctors +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + template struct S { Index: src/EXPLICIT_FUNC_INSTANTIATION.cpp =================================================================== --- src/EXPLICIT_FUNC_INSTANTIATION.cpp (revision 576517) +++ src/EXPLICIT_FUNC_INSTANTIATION.cpp (working copy) @@ -1,5 +1,27 @@ // checking explicit function instantiation +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" template Index: src/EXPLICIT_INSTANTIATION.cpp =================================================================== --- src/EXPLICIT_INSTANTIATION.cpp (revision 576517) +++ src/EXPLICIT_INSTANTIATION.cpp (working copy) @@ -1,5 +1,27 @@ // checking for explicit instantiation +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + // IMPLICIT_INSTANTIATION.cpp depends on foo(T) template T foo (T t) { return t; } Index: src/EXPLICIT_INSTANTIATION_BEFORE_DEFINITION.cpp =================================================================== --- src/EXPLICIT_INSTANTIATION_BEFORE_DEFINITION.cpp (revision 576517) +++ src/EXPLICIT_INSTANTIATION_BEFORE_DEFINITION.cpp (working copy) @@ -1,5 +1,27 @@ // checking for instantiation before definition +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #ifdef _RWSTD_NO_IMPLICIT_INCLUSION Index: src/EXPLICIT_INSTANTIATION_WITH_IMPLICIT_INCLUSION.cpp =================================================================== --- src/EXPLICIT_INSTANTIATION_WITH_IMPLICIT_INCLUSION.cpp (revision 576517) +++ src/EXPLICIT_INSTANTIATION_WITH_IMPLICIT_INCLUSION.cpp (working copy) @@ -1,5 +1,27 @@ // checking for explicit instantiation with implicit inclusion +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "instantiation_with_implicit_inclusion.h" template class S; Index: src/EXPLICIT_MEMBER_INSTANTIATION.cpp =================================================================== --- src/EXPLICIT_MEMBER_INSTANTIATION.cpp (revision 576517) +++ src/EXPLICIT_MEMBER_INSTANTIATION.cpp (working copy) @@ -1,5 +1,27 @@ // checking for explicit instantiation of members +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + template T foo (T t) { return t; } Index: src/EXPLICIT_MEMBER_SPECIALIZATION.cpp =================================================================== --- src/EXPLICIT_MEMBER_SPECIALIZATION.cpp (revision 576517) +++ src/EXPLICIT_MEMBER_SPECIALIZATION.cpp (working copy) @@ -1,5 +1,27 @@ // checking for explicit member specialization +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + struct A { int i_; Index: src/EXPORT.cpp =================================================================== --- src/EXPORT.cpp (revision 576517) +++ src/EXPORT.cpp (working copy) @@ -1,5 +1,27 @@ // checking for exported templates +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #ifndef _RWSTD_NO_EXPORT_KEYWORD Index: src/EXPORT_KEYWORD.cpp =================================================================== --- src/EXPORT_KEYWORD.cpp (revision 576517) +++ src/EXPORT_KEYWORD.cpp (working copy) @@ -1,6 +1,28 @@ // checking for the export keyword +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + // NOTE: test EXPORT.cpp links with EXPORT_KEYOWRD.o and expects // to find a definition of the function template below there export Index: src/EXTERN_C_COMPATIBILITY.cpp =================================================================== --- src/EXTERN_C_COMPATIBILITY.cpp (revision 576517) +++ src/EXTERN_C_COMPATIBILITY.cpp (working copy) @@ -1,5 +1,27 @@ // checking for compatibility of extern "C" and "C++" +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + extern "C" { typedef int (*ext_c_fun)(); Index: src/EXTERN_C_EXCEPTIONS.cpp =================================================================== --- src/EXTERN_C_EXCEPTIONS.cpp (revision 576517) +++ src/EXTERN_C_EXCEPTIONS.cpp (working copy) @@ -1,5 +1,27 @@ // checking for exceptions from extern "C" functions +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + // test tries to determine whether it's possible to throw exceptions // from functions with C language linkage Index: src/EXTERN_C_OVERLOAD.cpp =================================================================== --- src/EXTERN_C_OVERLOAD.cpp (revision 576517) +++ src/EXTERN_C_OVERLOAD.cpp (working copy) @@ -1,5 +1,27 @@ // checking overloading on extern "C" +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + extern "C" { typedef int (*pf_t)(void); Index: src/EXTERN_FUNCTION_TEMPLATE.cpp =================================================================== --- src/EXTERN_FUNCTION_TEMPLATE.cpp (revision 576517) +++ src/EXTERN_FUNCTION_TEMPLATE.cpp (working copy) @@ -1,5 +1,27 @@ // checking for extern function template extension +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" // establish a dependency on extern_function_template_imp.{cpp,o} Index: src/extern_function_template_imp.cpp =================================================================== --- src/extern_function_template_imp.cpp (revision 576517) +++ src/extern_function_template_imp.cpp (working copy) @@ -1,4 +1,26 @@ +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + template struct S { Index: src/EXTERN_INLINE.cpp =================================================================== --- src/EXTERN_INLINE.cpp (revision 576517) +++ src/EXTERN_INLINE.cpp (working copy) @@ -1,5 +1,27 @@ // checking for truly extern inline +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if 0 // guard invalid preprocessor symbol below Index: src/extern_inline.lib.cpp =================================================================== --- src/extern_inline.lib.cpp (revision 576517) +++ src/extern_inline.lib.cpp (working copy) @@ -1,4 +1,26 @@ +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #if defined (_WIN32) && defined (_DLL) __declspec (dllexport) #endif // _WIN32 && _DLL Index: src/EXTERN_MEMBER_TEMPLATE.cpp =================================================================== --- src/EXTERN_MEMBER_TEMPLATE.cpp (revision 576517) +++ src/EXTERN_MEMBER_TEMPLATE.cpp (working copy) @@ -1,5 +1,27 @@ // checking for extern template extension +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" // establish dependencies on the config tests and define config Index: src/EXTERN_TEMPLATE.cpp =================================================================== --- src/EXTERN_TEMPLATE.cpp (revision 576517) +++ src/EXTERN_TEMPLATE.cpp (working copy) @@ -1,5 +1,27 @@ // checking for extern template extension +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + // include a file containing the definition of a template // and an extern template directive referencing an explicit // instantiation of the same template in extern_template_imp.o Index: src/EXTERN_TEMPLATE_BEFORE_DEFINITION.cpp =================================================================== --- src/EXTERN_TEMPLATE_BEFORE_DEFINITION.cpp (revision 576517) +++ src/EXTERN_TEMPLATE_BEFORE_DEFINITION.cpp (working copy) @@ -1,5 +1,27 @@ // checking for extern template before definition +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #ifndef _RWSTD_NO_extern_template_before_definition_imp Index: src/extern_template_before_definition_imp.cpp =================================================================== --- src/extern_template_before_definition_imp.cpp (revision 576517) +++ src/extern_template_before_definition_imp.cpp (working copy) @@ -1,4 +1,26 @@ +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #ifdef _RWSTD_NO_IMPLICIT_INCLUSION Index: src/extern_template_imp.cpp =================================================================== --- src/extern_template_imp.cpp (revision 576517) +++ src/extern_template_imp.cpp (working copy) @@ -1,4 +1,26 @@ +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include // establish dependencies on the config tests and define config Index: src/extern_template_imp.h =================================================================== --- src/extern_template_imp.h (revision 576517) +++ src/extern_template_imp.h (working copy) @@ -1,4 +1,26 @@ +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + // avoid including here to avoid inadvertently // trying to introduce dependencies on other config tests // that the config infrastructure won't know about (since Index: src/FLOAT.cpp =================================================================== --- src/FLOAT.cpp (revision 576517) +++ src/FLOAT.cpp (working copy) @@ -1,5 +1,27 @@ // computing floating point properties +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + // working around a Compaq C++ headers problem (PR #27459) #if defined (__PURE_CNAME) # undef __PURE_CNAME Index: src/FPOS_T.cpp =================================================================== --- src/FPOS_T.cpp (revision 576517) +++ src/FPOS_T.cpp (working copy) @@ -1,5 +1,27 @@ // checking for fpos_t in +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include #include "config.h" Index: src/FRIEND_TEMPLATE.cpp =================================================================== --- src/FRIEND_TEMPLATE.cpp (revision 576517) +++ src/FRIEND_TEMPLATE.cpp (working copy) @@ -1,5 +1,27 @@ // checking for friend templates of templates +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" Index: src/FUNC.cpp =================================================================== --- src/FUNC.cpp (revision 576517) +++ src/FUNC.cpp (working copy) @@ -1,5 +1,27 @@ // checking the __func__ special macro +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + // 6.4.2.2, p1 of C99 const char* func_test () { Index: src/FUNC_PARTIAL_SPEC.cpp =================================================================== --- src/FUNC_PARTIAL_SPEC.cpp (revision 576517) +++ src/FUNC_PARTIAL_SPEC.cpp (working copy) @@ -1,5 +1,27 @@ // checking function template overload +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + template struct A { }; Index: src/FUNCTION_TRY_BLOCK.cpp =================================================================== --- src/FUNCTION_TRY_BLOCK.cpp (revision 576517) +++ src/FUNCTION_TRY_BLOCK.cpp (working copy) @@ -1,5 +1,27 @@ // checking function-try-block +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" Index: src/GLOBAL_BAD_ALLOC.cpp =================================================================== --- src/GLOBAL_BAD_ALLOC.cpp (revision 576517) +++ src/GLOBAL_BAD_ALLOC.cpp (working copy) @@ -1,5 +1,27 @@ // checking for class ::bad_alloc +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if !defined (_RWSTD_NO_NEW_THROWS) && !defined (_RWSTD_NO_NEW_OFLOW_SAFE) Index: src/GLOBAL_BAD_CAST.cpp =================================================================== --- src/GLOBAL_BAD_CAST.cpp (revision 576517) +++ src/GLOBAL_BAD_CAST.cpp (working copy) @@ -1,5 +1,27 @@ // checking for class ::bad_cast +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" Index: src/GLOBAL_BAD_EXCEPTION.cpp =================================================================== --- src/GLOBAL_BAD_EXCEPTION.cpp (revision 576517) +++ src/GLOBAL_BAD_EXCEPTION.cpp (working copy) @@ -1,5 +1,27 @@ // checking for class ::bad_exception +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" Index: src/GLOBAL_BAD_TYPEID.cpp =================================================================== --- src/GLOBAL_BAD_TYPEID.cpp (revision 576517) +++ src/GLOBAL_BAD_TYPEID.cpp (working copy) @@ -1,5 +1,27 @@ // checking for class ::bad_typeid +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" Index: src/GLOBAL_EXCEPTION.cpp =================================================================== --- src/GLOBAL_EXCEPTION.cpp (revision 576517) +++ src/GLOBAL_EXCEPTION.cpp (working copy) @@ -1,5 +1,27 @@ // checking for class ::exception +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" Index: src/GLOBAL_NOTHROW.cpp =================================================================== --- src/GLOBAL_NOTHROW.cpp (revision 576517) +++ src/GLOBAL_NOTHROW.cpp (working copy) @@ -1,5 +1,27 @@ // checking for ::nothrow +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + struct nothrow_t { }; extern const nothrow_t nothrow; Index: src/GLOBAL_NOTHROW_T.cpp =================================================================== --- src/GLOBAL_NOTHROW_T.cpp (revision 576517) +++ src/GLOBAL_NOTHROW_T.cpp (working copy) @@ -1,5 +1,27 @@ // checking for ::nothrow_t +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include // for size_t #include "config.h" Index: src/GLOBAL_SET_NEW_HANDLER.cpp =================================================================== --- src/GLOBAL_SET_NEW_HANDLER.cpp (revision 576517) +++ src/GLOBAL_SET_NEW_HANDLER.cpp (working copy) @@ -1,5 +1,27 @@ // checking for ::set_new_handler() +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #ifdef _RWSTD_NO_EXCEPTION_SPECIFICATION Index: src/GLOBAL_SET_TERMINATE.cpp =================================================================== --- src/GLOBAL_SET_TERMINATE.cpp (revision 576517) +++ src/GLOBAL_SET_TERMINATE.cpp (working copy) @@ -1,5 +1,27 @@ // checking for ::set_terminate() +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" Index: src/GLOBAL_SET_UNEXPECTED.cpp =================================================================== --- src/GLOBAL_SET_UNEXPECTED.cpp (revision 576517) +++ src/GLOBAL_SET_UNEXPECTED.cpp (working copy) @@ -1,5 +1,27 @@ // checking for ::set_unexpected() +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #ifdef _RWSTD_NO_EXCEPTION_SPECIFICATION Index: src/GLOBAL_TERMINATE.cpp =================================================================== --- src/GLOBAL_TERMINATE.cpp (revision 576517) +++ src/GLOBAL_TERMINATE.cpp (working copy) @@ -1,6 +1,28 @@ // checking for ::terminate() +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + // looking for a definition in compiler support library void terminate (); Index: src/GLOBAL_TYPE_INFO.cpp =================================================================== --- src/GLOBAL_TYPE_INFO.cpp (revision 576517) +++ src/GLOBAL_TYPE_INFO.cpp (working copy) @@ -1,5 +1,27 @@ // checking for class ::type_info +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" Index: src/GLOBAL_UNCAUGHT_EXCEPTION.cpp =================================================================== --- src/GLOBAL_UNCAUGHT_EXCEPTION.cpp (revision 576517) +++ src/GLOBAL_UNCAUGHT_EXCEPTION.cpp (working copy) @@ -1,5 +1,27 @@ // checking for ::uncaught_exception() +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" Index: src/GLOBAL_UNEXPECTED.cpp =================================================================== --- src/GLOBAL_UNEXPECTED.cpp (revision 576517) +++ src/GLOBAL_UNEXPECTED.cpp (working copy) @@ -1,6 +1,28 @@ // checking for ::unexpected() +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + // looking for a definition in compiler support library void unexpected (); Index: src/headers.inc =================================================================== --- src/headers.inc (revision 576517) +++ src/headers.inc (working copy) @@ -1,3 +1,25 @@ +############################################################################## +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# Copyright 2001-2007 Rogue Wave Software, Inc. +# +############################################################################## + # list of headers hdrs="assert ctype errno float iso646 limits locale math setjmp signal \ stdarg stddef stdio stdlib string time wchar wctype new typeinfo" Index: src/HONOR_STD.cpp =================================================================== --- src/HONOR_STD.cpp (revision 576517) +++ src/HONOR_STD.cpp (working copy) @@ -1,6 +1,28 @@ // checking if namespace std is honored +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + // g++ 2.9x ignores namespace std unless the -fhonor-std option is used namespace std { Index: src/ICONV.cpp =================================================================== --- src/ICONV.cpp (revision 576517) +++ src/ICONV.cpp (working copy) @@ -1,5 +1,27 @@ // checking for iconv() in +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #include Index: src/ICONV_CONST_CHAR.cpp =================================================================== --- src/ICONV_CONST_CHAR.cpp (revision 576517) +++ src/ICONV_CONST_CHAR.cpp (working copy) @@ -1,5 +1,27 @@ // checking for POSIX iconv() +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include int foo () Index: src/IMPLICIT_INCLUSION.cpp =================================================================== --- src/IMPLICIT_INCLUSION.cpp (revision 576517) +++ src/IMPLICIT_INCLUSION.cpp (working copy) @@ -1,5 +1,27 @@ // checking for implicit file inclusion +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "implicit_inclusion_imp.h" int main () Index: src/implicit_inclusion_imp.c =================================================================== --- src/implicit_inclusion_imp.c (revision 576517) +++ src/implicit_inclusion_imp.c (working copy) @@ -1 +1,24 @@ + +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "implicit_inclusion_imp.cc" Index: src/implicit_inclusion_imp.cc =================================================================== --- src/implicit_inclusion_imp.cc (revision 576517) +++ src/implicit_inclusion_imp.cc (working copy) @@ -1,6 +1,27 @@ - // definitions of out-of-line members declared in implicit_inclusion_imp.h +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + template T S::foo () { Index: src/implicit_inclusion_imp.h =================================================================== --- src/implicit_inclusion_imp.h (revision 576517) +++ src/implicit_inclusion_imp.h (working copy) @@ -1,3 +1,26 @@ + +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + template struct S { Index: src/IMPLICIT_INSTANTIATION.cpp =================================================================== --- src/IMPLICIT_INSTANTIATION.cpp (revision 576517) +++ src/IMPLICIT_INSTANTIATION.cpp (working copy) @@ -1,5 +1,27 @@ // checking for implicit instantiation +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #ifndef _RWSTD_NO_EXPLICIT_INSTANTIATION Index: src/INFINITY.cpp =================================================================== --- src/INFINITY.cpp (revision 576517) +++ src/INFINITY.cpp (working copy) @@ -1,5 +1,27 @@ // computing infinity and NaN's +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include // for FLT_MIN, DBL_MIN, LDBL_MIN #include // for printf() Index: src/INLINE_MEMBER_TEMPLATES.cpp =================================================================== --- src/INLINE_MEMBER_TEMPLATES.cpp (revision 576517) +++ src/INLINE_MEMBER_TEMPLATES.cpp (working copy) @@ -1,5 +1,27 @@ // checking for inline member templates +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + struct A { template Index: src/INSTANTIATE_DEFAULT_ARGS.cpp =================================================================== --- src/INSTANTIATE_DEFAULT_ARGS.cpp (revision 576517) +++ src/INSTANTIATE_DEFAULT_ARGS.cpp (working copy) @@ -1,5 +1,27 @@ // checking if default args are instantiated +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" Index: src/instantiation_before_definition.c =================================================================== --- src/instantiation_before_definition.c (revision 576517) +++ src/instantiation_before_definition.c (working copy) @@ -1,3 +1,25 @@ // implementation file for instantiation_before_definition.h# +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "instantiation_before_definition.cc" Index: src/instantiation_before_definition.cc =================================================================== --- src/instantiation_before_definition.cc (revision 576517) +++ src/instantiation_before_definition.cc (working copy) @@ -1,5 +1,27 @@ // implementation file for instantiation_before_definition.h +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + template T instantiated_before_defined (T t) { Index: src/instantiation_before_definition.h =================================================================== --- src/instantiation_before_definition.h (revision 576517) +++ src/instantiation_before_definition.h (working copy) @@ -1,3 +1,26 @@ + +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #ifndef INSTANTIATION_BEFORE_DEFINITION_INCLUDED #define INSTANTIATION_BEFORE_DEFINITION_INCLUDED Index: src/instantiation_with_implicit_inclusion.c =================================================================== --- src/instantiation_with_implicit_inclusion.c (revision 576517) +++ src/instantiation_with_implicit_inclusion.c (working copy) @@ -1 +1,24 @@ + +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "instantiation_with_implicit_inclusion.cc" Index: src/instantiation_with_implicit_inclusion.cc =================================================================== --- src/instantiation_with_implicit_inclusion.cc (revision 576517) +++ src/instantiation_with_implicit_inclusion.cc (working copy) @@ -1,3 +1,26 @@ + +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + template T S::bar (T t) { return t; } Index: src/instantiation_with_implicit_inclusion.h =================================================================== --- src/instantiation_with_implicit_inclusion.h (revision 576517) +++ src/instantiation_with_implicit_inclusion.h (working copy) @@ -1,3 +1,26 @@ + +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + template struct S { Index: src/LCONV.cpp =================================================================== --- src/LCONV.cpp (revision 576517) +++ src/LCONV.cpp (working copy) @@ -1,5 +1,27 @@ // checking for struct lconv in +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include // for lconv #include // for offsetof, size_t #include // for printf Index: src/LCONV_INT_FMAT.cpp =================================================================== --- src/LCONV_INT_FMAT.cpp (revision 576517) +++ src/LCONV_INT_FMAT.cpp (working copy) @@ -1,5 +1,27 @@ // checking for C99 international lconv members +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include int main () Index: src/LDBL_PRINTF_PREFIX.cpp =================================================================== --- src/LDBL_PRINTF_PREFIX.cpp (revision 576517) +++ src/LDBL_PRINTF_PREFIX.cpp (working copy) @@ -1,5 +1,27 @@ // checking for long double printf format prefix +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include #include "config.h" Index: src/LIB_EXCEPTIONS.cpp =================================================================== --- src/LIB_EXCEPTIONS.cpp (revision 576517) +++ src/LIB_EXCEPTIONS.cpp (working copy) @@ -1,5 +1,27 @@ // checking library exceptions +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if 0 // guard invalid preprocessor symbol below Index: src/lib_exceptions.lib.cpp =================================================================== --- src/lib_exceptions.lib.cpp (revision 576517) +++ src/lib_exceptions.lib.cpp (working copy) @@ -1,4 +1,26 @@ +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if defined (_WIN32) && defined (_DLL) Index: src/LIBC_EXCEPTION_SPEC.cpp =================================================================== --- src/LIBC_EXCEPTION_SPEC.cpp (revision 576517) +++ src/LIBC_EXCEPTION_SPEC.cpp (working copy) @@ -1,5 +1,27 @@ // checking for exception specification in libc +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include extern "C" { Index: src/LIBC_IN_STD.cpp =================================================================== --- src/LIBC_IN_STD.cpp (revision 576517) +++ src/LIBC_IN_STD.cpp (working copy) @@ -1,5 +1,27 @@ // checking for C library in namespace std +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #ifndef _RWSTD_NO_NEW_HEADER Index: src/LIMITS.cpp =================================================================== --- src/LIMITS.cpp (revision 576517) +++ src/LIMITS.cpp (working copy) @@ -1,5 +1,27 @@ // computing numerical limits +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include // for printf() #include // for MB_MAX_LEN Index: src/LLONG_PRINTF_PREFIX.cpp =================================================================== --- src/LLONG_PRINTF_PREFIX.cpp (revision 576517) +++ src/LLONG_PRINTF_PREFIX.cpp (working copy) @@ -1,5 +1,27 @@ // checking for long long printf format prefix +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #include Index: src/LOCALE_NAME_FMAT.cpp =================================================================== --- src/LOCALE_NAME_FMAT.cpp (revision 576517) +++ src/LOCALE_NAME_FMAT.cpp (working copy) @@ -1,5 +1,27 @@ // determining combined locale name format +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + // If strict_ansi_errors is present, the definition of __PURE_CNAME // dictates inclusion of locale_cname_impl & locale_ansi_impl which // do not define LC_MESSAGES locale category Index: src/locale_names.h =================================================================== --- src/locale_names.h (revision 576517) +++ src/locale_names.h (working copy) @@ -1,3 +1,25 @@ +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #ifndef LOCALE_NAMES_H_INCLUDED #define LOCALE_NAMES_H_INCLUDED Index: src/LONG_DOUBLE.cpp =================================================================== --- src/LONG_DOUBLE.cpp (revision 576517) +++ src/LONG_DOUBLE.cpp (working copy) @@ -1,5 +1,27 @@ // checking if long double is a native type +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" int foo (float) Index: src/LONG_LONG.cpp =================================================================== --- src/LONG_LONG.cpp (revision 576517) +++ src/LONG_LONG.cpp (working copy) @@ -1,6 +1,28 @@ // checking for long long +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + const char* foo (long long) { return "long long"; } const char* foo (unsigned long long) { return "unsigned long long"; } Index: src/MATH_EXCEPTION.cpp =================================================================== --- src/MATH_EXCEPTION.cpp (revision 576517) +++ src/MATH_EXCEPTION.cpp (working copy) @@ -1,5 +1,27 @@ // checking for struct exception in +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #ifdef __osf__ // preemptive strike in case _OSF_SOURCE is #defined # define _OSF_SOURCE Index: src/MATH_OVERLOADS.cpp =================================================================== --- src/MATH_OVERLOADS.cpp (revision 576517) +++ src/MATH_OVERLOADS.cpp (working copy) @@ -1,5 +1,27 @@ // checking for function overloads in +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include #include Index: src/MBSTATE_T.cpp =================================================================== --- src/MBSTATE_T.cpp (revision 576517) +++ src/MBSTATE_T.cpp (working copy) @@ -1,5 +1,27 @@ // checking for mbstate_t in and +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" // defined to get the correct definition of mbstate_t, available on HPUX; Index: src/MEMBER_TEMPLATE_OVERLOAD.cpp =================================================================== --- src/MEMBER_TEMPLATE_OVERLOAD.cpp (revision 576517) +++ src/MEMBER_TEMPLATE_OVERLOAD.cpp (working copy) @@ -1,5 +1,27 @@ // checking for member template overloads on return type +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + template struct A { }; Index: src/MEMBER_TEMPLATES.cpp =================================================================== --- src/MEMBER_TEMPLATES.cpp (revision 576517) +++ src/MEMBER_TEMPLATES.cpp (working copy) @@ -1,5 +1,27 @@ // checking for member templates +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + // both tests must successfully compile #include "INLINE_MEMBER_TEMPLATES.cpp" Index: src/MUNMAP.cpp =================================================================== --- src/MUNMAP.cpp (revision 576517) +++ src/MUNMAP.cpp (working copy) @@ -1,5 +1,27 @@ // checking for munmap() in +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" // include first in case mman.h depends Index: src/NAMESPACE.cpp =================================================================== --- src/NAMESPACE.cpp (revision 576517) +++ src/NAMESPACE.cpp (working copy) @@ -1,5 +1,27 @@ // checking for namespaces +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + namespace A { struct AA { }; Index: src/NATIVE_WCHAR_T.cpp =================================================================== --- src/NATIVE_WCHAR_T.cpp (revision 576517) +++ src/NATIVE_WCHAR_T.cpp (working copy) @@ -1,5 +1,27 @@ // checking if wchar_t is a native type +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" int foo (wchar_t) Index: src/NESTED_CLASS_ACCESS.cpp =================================================================== --- src/NESTED_CLASS_ACCESS.cpp (revision 576517) +++ src/NESTED_CLASS_ACCESS.cpp (working copy) @@ -1,5 +1,27 @@ // checking member class access +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + struct A { private: Index: src/NEW_CLASS_TEMPLATE_SYNTAX.cpp =================================================================== --- src/NEW_CLASS_TEMPLATE_SYNTAX.cpp (revision 576517) +++ src/NEW_CLASS_TEMPLATE_SYNTAX.cpp (working copy) @@ -1,5 +1,27 @@ // checking class template specialization +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" template Index: src/NEW_FUNC_TEMPLATE_SYNTAX.cpp =================================================================== --- src/NEW_FUNC_TEMPLATE_SYNTAX.cpp (revision 576517) +++ src/NEW_FUNC_TEMPLATE_SYNTAX.cpp (working copy) @@ -1,6 +1,28 @@ // checking template specialization syntax +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + template int foo (T) { Index: src/NEW_HEADER.cpp =================================================================== --- src/NEW_HEADER.cpp (revision 576517) +++ src/NEW_HEADER.cpp (working copy) @@ -1,5 +1,27 @@ // checking for C++-style C library headers +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include #include #include Index: src/NEW_THROWS.cpp =================================================================== --- src/NEW_THROWS.cpp (revision 576517) +++ src/NEW_THROWS.cpp (working copy) @@ -1,5 +1,27 @@ // checking if operator new() throws +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #include Index: src/NEWLINE.cpp =================================================================== --- src/NEWLINE.cpp (revision 576517) +++ src/NEWLINE.cpp (working copy) @@ -1,5 +1,27 @@ // checking for newline (CR or CR-LF) +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include #include "config.h" Index: src/NL_LANGINFO.cpp =================================================================== --- src/NL_LANGINFO.cpp (revision 576517) +++ src/NL_LANGINFO.cpp (working copy) @@ -1,5 +1,27 @@ // checking for nl_langinfo() in +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include // compile and link to make sure nl_langinfo() is not only Index: src/NL_TYPES_H.cpp =================================================================== --- src/NL_TYPES_H.cpp (revision 576517) +++ src/NL_TYPES_H.cpp (working copy) @@ -1,5 +1,27 @@ // checking for catopen() in +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include #include "config.h" Index: src/NO_DBL_TRAPS.cpp =================================================================== --- src/NO_DBL_TRAPS.cpp (revision 576517) +++ src/NO_DBL_TRAPS.cpp (working copy) @@ -1,5 +1,27 @@ // checking if floating point math traps +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" Index: src/NO_FOR_LOCAL_SCOPE.cpp =================================================================== --- src/NO_FOR_LOCAL_SCOPE.cpp (revision 576517) +++ src/NO_FOR_LOCAL_SCOPE.cpp (working copy) @@ -1,5 +1,27 @@ // checking for scope of for-init-statements +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + int foo (int n) { int result = 0; Index: src/NO_INT_TRAPS.cpp =================================================================== --- src/NO_INT_TRAPS.cpp (revision 576517) +++ src/NO_INT_TRAPS.cpp (working copy) @@ -1,5 +1,27 @@ // checking if integer math traps +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" Index: src/NO_SIGNALING_NAN.cpp =================================================================== --- src/NO_SIGNALING_NAN.cpp (revision 576517) +++ src/NO_SIGNALING_NAN.cpp (working copy) @@ -1,5 +1,27 @@ // checking for signaling NaN +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #include Index: src/NONCLASS_ARROW_RETURN.cpp =================================================================== --- src/NONCLASS_ARROW_RETURN.cpp (revision 576517) +++ src/NONCLASS_ARROW_RETURN.cpp (working copy) @@ -1,5 +1,27 @@ // checking for operator->() +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + struct A { int a; Index: src/NONDEDUCED_CONTEXT.cpp =================================================================== --- src/NONDEDUCED_CONTEXT.cpp (revision 576517) +++ src/NONDEDUCED_CONTEXT.cpp (working copy) @@ -1,5 +1,27 @@ // checking nondeduced context +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #ifdef _RWSTD_NO_TYPENAME Index: src/OFFSETOF.cpp =================================================================== --- src/OFFSETOF.cpp (revision 576517) +++ src/OFFSETOF.cpp (working copy) @@ -1,5 +1,27 @@ // checking for a working offsetof() in +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include struct S Index: src/OPERATOR_DELETE_ARRAY.cpp =================================================================== --- src/OPERATOR_DELETE_ARRAY.cpp (revision 576517) +++ src/OPERATOR_DELETE_ARRAY.cpp (working copy) @@ -1,5 +1,27 @@ // checking for operator delete[] (void*) +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #include Index: src/OPERATOR_DELETE_ARRAY_NOTHROW.cpp =================================================================== --- src/OPERATOR_DELETE_ARRAY_NOTHROW.cpp (revision 576517) +++ src/OPERATOR_DELETE_ARRAY_NOTHROW.cpp (working copy) @@ -1,5 +1,27 @@ // checking for operator delete[] (void*, nothrow_t) +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #include Index: src/OPERATOR_DELETE_ARRAY_PLACEMENT.cpp =================================================================== --- src/OPERATOR_DELETE_ARRAY_PLACEMENT.cpp (revision 576517) +++ src/OPERATOR_DELETE_ARRAY_PLACEMENT.cpp (working copy) @@ -1,5 +1,27 @@ // checking for operator delete[] (void*, void*) +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #include Index: src/OPERATOR_DELETE_NOTHROW.cpp =================================================================== --- src/OPERATOR_DELETE_NOTHROW.cpp (revision 576517) +++ src/OPERATOR_DELETE_NOTHROW.cpp (working copy) @@ -1,5 +1,27 @@ // checking for operator delete (void*, nothrow_t) +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #include Index: src/OPERATOR_DELETE_PLACEMENT.cpp =================================================================== --- src/OPERATOR_DELETE_PLACEMENT.cpp (revision 576517) +++ src/OPERATOR_DELETE_PLACEMENT.cpp (working copy) @@ -1,5 +1,27 @@ // checking for operator delete (void*, void*) +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #include Index: src/OPERATOR_NEW_ARRAY.cpp =================================================================== --- src/OPERATOR_NEW_ARRAY.cpp (revision 576517) +++ src/OPERATOR_NEW_ARRAY.cpp (working copy) @@ -1,5 +1,27 @@ // checking for operator new[] (size_t) +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #include Index: src/OPERATOR_NEW_ARRAY_NOTHROW.cpp =================================================================== --- src/OPERATOR_NEW_ARRAY_NOTHROW.cpp (revision 576517) +++ src/OPERATOR_NEW_ARRAY_NOTHROW.cpp (working copy) @@ -1,5 +1,27 @@ // checking for operator new[] (size_t, nothrow_t) +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #include Index: src/OPERATOR_NEW_ARRAY_PLACEMENT.cpp =================================================================== --- src/OPERATOR_NEW_ARRAY_PLACEMENT.cpp (revision 576517) +++ src/OPERATOR_NEW_ARRAY_PLACEMENT.cpp (working copy) @@ -1,5 +1,27 @@ // checking for operator new[] (size_t, void*) +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #include Index: src/OPERATOR_NEW_NOTHROW.cpp =================================================================== --- src/OPERATOR_NEW_NOTHROW.cpp (revision 576517) +++ src/OPERATOR_NEW_NOTHROW.cpp (working copy) @@ -1,5 +1,27 @@ // checking for operator new (size_t, nothrow_t) +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + /********************************************************************* * This and related operator comptests are necessarily complicated * due to the possibility that the nothrow versions of the operators Index: src/OPERATOR_NEW_PLACEMENT.cpp =================================================================== --- src/OPERATOR_NEW_PLACEMENT.cpp (revision 576517) +++ src/OPERATOR_NEW_PLACEMENT.cpp (working copy) @@ -1,5 +1,27 @@ // checking for operator new (size_t, void*) +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #include Index: src/OVERLOAD_OF_TEMPLATE_FUNCTION.cpp =================================================================== --- src/OVERLOAD_OF_TEMPLATE_FUNCTION.cpp (revision 576517) +++ src/OVERLOAD_OF_TEMPLATE_FUNCTION.cpp (working copy) @@ -1,6 +1,28 @@ // checking complicated partial ordering +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + template class S { }; Index: src/PART_SPEC_OVERLOAD.cpp =================================================================== --- src/PART_SPEC_OVERLOAD.cpp (revision 576517) +++ src/PART_SPEC_OVERLOAD.cpp (working copy) @@ -1,5 +1,27 @@ // checking partial ordering of function templates +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + template struct S { }; Index: src/PLACEMENT_DELETE.cpp =================================================================== --- src/PLACEMENT_DELETE.cpp (revision 576517) +++ src/PLACEMENT_DELETE.cpp (working copy) @@ -1,5 +1,27 @@ // checking for placement delete +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #ifndef _RWSTD_NO_EXCEPTION_SPECIFICATION_ON_NEW Index: src/POD_ZERO_INIT.cpp =================================================================== --- src/POD_ZERO_INIT.cpp (revision 576517) +++ src/POD_ZERO_INIT.cpp (working copy) @@ -1,5 +1,27 @@ // checking for POD zero initialization +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #ifndef _RWSTD_NO_NEW Index: src/PRETTY_FUNCTION.cpp =================================================================== --- src/PRETTY_FUNCTION.cpp (revision 576517) +++ src/PRETTY_FUNCTION.cpp (working copy) @@ -1,5 +1,27 @@ // checking for __PRETTY_FUNCTION__ +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + const char* foo () { const char *func = __PRETTY_FUNCTION__; Index: src/proclimits.h =================================================================== --- src/proclimits.h (revision 576517) +++ src/proclimits.h (working copy) @@ -1,6 +1,28 @@ // proclimits.h must be included in .cpp file // only after #if[n]def _RWSTD_NO_SETRLIMIT line +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #if !defined (_RWSTD_NO_SETRLIMIT) # include // for setrlimit() Index: src/PTR_EXCEPTION_SPEC.cpp =================================================================== --- src/PTR_EXCEPTION_SPEC.cpp (revision 576517) +++ src/PTR_EXCEPTION_SPEC.cpp (working copy) @@ -1,5 +1,27 @@ // checking for pointer exception specification +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + struct S { void foo () throw () { } Index: src/PUTENV_CONST_CHAR.cpp =================================================================== --- src/PUTENV_CONST_CHAR.cpp (revision 576517) +++ src/PUTENV_CONST_CHAR.cpp (working copy) @@ -1,5 +1,27 @@ // checking for putenv() in +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include // [re]declare with the expected POSIX signature which will fail Index: src/QUIET_NAN.cpp =================================================================== --- src/QUIET_NAN.cpp (revision 576517) +++ src/QUIET_NAN.cpp (working copy) @@ -1,5 +1,27 @@ // checking for quiet NaN +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include #include "config.h" Index: src/REINTERPRET_CAST.cpp =================================================================== --- src/REINTERPRET_CAST.cpp (revision 576517) +++ src/REINTERPRET_CAST.cpp (working copy) @@ -1,6 +1,28 @@ // checking for reinterpret_cast +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + int main () { const int *i = reinterpret_cast(""); Index: src/RUNTIME_IN_STD.cpp =================================================================== --- src/RUNTIME_IN_STD.cpp (revision 576517) +++ src/RUNTIME_IN_STD.cpp (working copy) @@ -1,5 +1,27 @@ // checking for runtime support in namespace std +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #include Index: src/SETLOCALE.cpp =================================================================== --- src/SETLOCALE.cpp (revision 576517) +++ src/SETLOCALE.cpp (working copy) @@ -1,5 +1,27 @@ // checking for setlocale() in +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include #include "config.h" Index: src/SETRLIMIT.cpp =================================================================== --- src/SETRLIMIT.cpp (revision 576517) +++ src/SETRLIMIT.cpp (working copy) @@ -1,5 +1,27 @@ // checking for setrlimit() in +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include // for setrlimit() void foo () Index: src/SIG_ATOMIC_T.cpp =================================================================== --- src/SIG_ATOMIC_T.cpp (revision 576517) +++ src/SIG_ATOMIC_T.cpp (working copy) @@ -1,5 +1,27 @@ // checking for signal support in +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include #include Index: src/SIZE_T.cpp =================================================================== --- src/SIZE_T.cpp (revision 576517) +++ src/SIZE_T.cpp (working copy) @@ -1,5 +1,27 @@ // checking for fpos_t, ptrdiff_t, and size_t +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #include Index: src/SPECIALIZATION_ON_RETURN_TYPE.cpp =================================================================== --- src/SPECIALIZATION_ON_RETURN_TYPE.cpp (revision 576517) +++ src/SPECIALIZATION_ON_RETURN_TYPE.cpp (working copy) @@ -1,6 +1,28 @@ // checking for specialization on return type +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + template T foo () { return T (); } Index: src/SPECIALIZED_FRIEND.cpp =================================================================== --- src/SPECIALIZED_FRIEND.cpp (revision 576517) +++ src/SPECIALIZED_FRIEND.cpp (working copy) @@ -1,5 +1,27 @@ // checking template<> in friend specializations +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + template struct S; Index: src/STATIC_CAST.cpp =================================================================== --- src/STATIC_CAST.cpp (revision 576517) +++ src/STATIC_CAST.cpp (working copy) @@ -1,5 +1,27 @@ // checking for static_cast +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + void foo (void *p, char *s, int i, double d) { p = static_cast(s); Index: src/STATIC_CONST_MEMBER_EXPR_CONST.cpp =================================================================== --- src/STATIC_CONST_MEMBER_EXPR_CONST.cpp (revision 576517) +++ src/STATIC_CONST_MEMBER_EXPR_CONST.cpp (working copy) @@ -1,5 +1,27 @@ // checking for type-dependent constant expressions +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #ifdef _RWSTD_NO_TYPENAME Index: src/STATIC_CONST_MEMBER_INIT.cpp =================================================================== --- src/STATIC_CONST_MEMBER_INIT.cpp (revision 576517) +++ src/STATIC_CONST_MEMBER_INIT.cpp (working copy) @@ -1,5 +1,27 @@ // checking for const member initializer +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + struct A { static const int i = 1; Index: src/STATIC_TEMPLATE_MEMBER_INIT.cpp =================================================================== --- src/STATIC_TEMPLATE_MEMBER_INIT.cpp (revision 576517) +++ src/STATIC_TEMPLATE_MEMBER_INIT.cpp (working copy) @@ -1,5 +1,27 @@ // checking initialization of static template data memebers +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + template struct S { Index: src/STATICS_IN_TEMPLATE.cpp =================================================================== --- src/STATICS_IN_TEMPLATE.cpp (revision 576517) +++ src/STATICS_IN_TEMPLATE.cpp (working copy) @@ -1,5 +1,27 @@ // checking for references to static symbols in template +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + static int static_function (int i) { return i; } static int static_function (double d) { return int (d); } Index: src/STD_BAD_ALLOC.cpp =================================================================== --- src/STD_BAD_ALLOC.cpp (revision 576517) +++ src/STD_BAD_ALLOC.cpp (working copy) @@ -1,5 +1,27 @@ // checking for class std::bad_alloc +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #if !defined (_RWSTD_NO_NEW_THROWS) && !defined (_RWSTD_NO_NEW_OFLOW_SAFE) Index: src/STD_BAD_CAST.cpp =================================================================== --- src/STD_BAD_CAST.cpp (revision 576517) +++ src/STD_BAD_CAST.cpp (working copy) @@ -1,5 +1,27 @@ // checking for class std::bad_cast +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" Index: src/STD_BAD_EXCEPTION.cpp =================================================================== --- src/STD_BAD_EXCEPTION.cpp (revision 576517) +++ src/STD_BAD_EXCEPTION.cpp (working copy) @@ -1,5 +1,27 @@ // checking for class std::bad_exception +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #ifndef _RWSTD_NO_HONOR_STD Index: src/STD_BAD_TYPEID.cpp =================================================================== --- src/STD_BAD_TYPEID.cpp (revision 576517) +++ src/STD_BAD_TYPEID.cpp (working copy) @@ -1,5 +1,27 @@ // checking for class std::bad_typeid +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #ifndef _RWSTD_NO_TYPEINFO Index: src/STD_EXCEPTION.cpp =================================================================== --- src/STD_EXCEPTION.cpp (revision 576517) +++ src/STD_EXCEPTION.cpp (working copy) @@ -1,5 +1,27 @@ // checking for class std::exception +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #ifndef _RWSTD_NO_HONOR_STD Index: src/STD_MBSTATE_T.cpp =================================================================== --- src/STD_MBSTATE_T.cpp (revision 576517) +++ src/STD_MBSTATE_T.cpp (working copy) @@ -1,5 +1,27 @@ // checking for std::mbstate_t in and +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #ifndef _RWSTD_NO_WCHAR_H Index: src/STD_NOTHROW.cpp =================================================================== --- src/STD_NOTHROW.cpp (revision 576517) +++ src/STD_NOTHROW.cpp (working copy) @@ -1,6 +1,28 @@ // checking for std::nothrow +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + // will fail if namespaces aren't supported namespace std { Index: src/STD_NOTHROW_T.cpp =================================================================== --- src/STD_NOTHROW_T.cpp (revision 576517) +++ src/STD_NOTHROW_T.cpp (working copy) @@ -1,5 +1,27 @@ // checking for std::nothrow_t +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include // for size_t #include "config.h" Index: src/STD_SET_NEW_HANDLER.cpp =================================================================== --- src/STD_SET_NEW_HANDLER.cpp (revision 576517) +++ src/STD_SET_NEW_HANDLER.cpp (working copy) @@ -1,5 +1,27 @@ // checking for std::set_new_handler() +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #ifdef _RWSTD_NO_EXCEPTION_SPECIFICATION Index: src/STD_SET_TERMINATE.cpp =================================================================== --- src/STD_SET_TERMINATE.cpp (revision 576517) +++ src/STD_SET_TERMINATE.cpp (working copy) @@ -1,5 +1,27 @@ // checking for std::set_terminate() +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #ifdef _RWSTD_NO_EXCEPTION_SPECIFICATION Index: src/STD_SET_UNEXPECTED.cpp =================================================================== --- src/STD_SET_UNEXPECTED.cpp (revision 576517) +++ src/STD_SET_UNEXPECTED.cpp (working copy) @@ -1,5 +1,27 @@ // checking for std::set_unexpected() +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" Index: src/STD_TERMINATE.cpp =================================================================== --- src/STD_TERMINATE.cpp (revision 576517) +++ src/STD_TERMINATE.cpp (working copy) @@ -1,5 +1,27 @@ // checking for std::terminate() +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" // will fail if namespaces aren't supported Index: src/STD_TYPE_INFO.cpp =================================================================== --- src/STD_TYPE_INFO.cpp (revision 576517) +++ src/STD_TYPE_INFO.cpp (working copy) @@ -1,6 +1,28 @@ // checking for class std::type_info +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + namespace std { #if defined (__EDG__) || defined (__sgi) && !defined (__GNUG__) Index: src/STD_UNCAUGHT_EXCEPTION.cpp =================================================================== --- src/STD_UNCAUGHT_EXCEPTION.cpp (revision 576517) +++ src/STD_UNCAUGHT_EXCEPTION.cpp (working copy) @@ -1,5 +1,27 @@ // checking for std::uncaught_exception() +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" Index: src/STD_UNEXPECTED.cpp =================================================================== --- src/STD_UNEXPECTED.cpp (revision 576517) +++ src/STD_UNEXPECTED.cpp (working copy) @@ -1,6 +1,28 @@ // checking for std::unexpected() +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + // will fail if namespaces aren't supported namespace std { Index: src/STRUCT_TM.cpp =================================================================== --- src/STRUCT_TM.cpp (revision 576517) +++ src/STRUCT_TM.cpp (working copy) @@ -1,5 +1,27 @@ // checking for struct tm in +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include // for offsetof, size_t #include // for printf #include // for strlen Index: src/STRUCT_TM_IN_WCHAR_H.cpp =================================================================== --- src/STRUCT_TM_IN_WCHAR_H.cpp (revision 576517) +++ src/STRUCT_TM_IN_WCHAR_H.cpp (working copy) @@ -1,5 +1,27 @@ // checking for struct tm declaration in +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include // 7.24.1, p2 of C99: struct tm is required to declared Index: src/TEMPLATE_DEFAULT_ARG_CONVERSION.cpp =================================================================== --- src/TEMPLATE_DEFAULT_ARG_CONVERSION.cpp (revision 576517) +++ src/TEMPLATE_DEFAULT_ARG_CONVERSION.cpp (working copy) @@ -1,6 +1,28 @@ // checking for conversion in template default arguments +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + template struct A { }; Index: src/TEMPLATE_ON_RETURN_TYPE.cpp =================================================================== --- src/TEMPLATE_ON_RETURN_TYPE.cpp (revision 576517) +++ src/TEMPLATE_ON_RETURN_TYPE.cpp (working copy) @@ -1,6 +1,28 @@ // checking template overloads on return type +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + template struct A { char dummy [8]; }; Index: src/thread.h =================================================================== --- src/thread.h (revision 576517) +++ src/thread.h (working copy) @@ -1,3 +1,26 @@ + +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #if defined (_WIN32) // definitions of Win32 POSIX compatibility layer functions Index: src/THREAD_SAFE_ERRNO.cpp =================================================================== --- src/THREAD_SAFE_ERRNO.cpp (revision 576517) +++ src/THREAD_SAFE_ERRNO.cpp (working copy) @@ -1,5 +1,27 @@ // checking if errno is thread safe +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include #include "thread.h" Index: src/THREAD_SAFE_EXCEPTIONS.cpp =================================================================== --- src/THREAD_SAFE_EXCEPTIONS.cpp (revision 576517) +++ src/THREAD_SAFE_EXCEPTIONS.cpp (working copy) @@ -1,5 +1,27 @@ // checking if exceptions are thread safe +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "thread.h" Index: src/THREAD_SAFE_LOCALE.cpp =================================================================== --- src/THREAD_SAFE_LOCALE.cpp (revision 576517) +++ src/THREAD_SAFE_LOCALE.cpp (working copy) @@ -1,5 +1,27 @@ // checking if locale is thread safe +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + // determines whether each thread has its own C locale environment // that's independent of those of all other threads or whether the // C locale facility is process global (i.e., shared among all Index: src/TIMEZONE.cpp =================================================================== --- src/TIMEZONE.cpp (revision 576517) +++ src/TIMEZONE.cpp (working copy) @@ -1,5 +1,27 @@ // checking for int timezone in +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include int get_timezone_value () Index: src/TLS.cpp =================================================================== --- src/TLS.cpp (revision 576517) +++ src/TLS.cpp (working copy) @@ -1,5 +1,27 @@ // checking for thread-local storage +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include #if defined (_MSC_VER) Index: src/TYPE_INFO_BEFORE.cpp =================================================================== --- src/TYPE_INFO_BEFORE.cpp (revision 576517) +++ src/TYPE_INFO_BEFORE.cpp (working copy) @@ -1,5 +1,27 @@ // checking for type_info::before() +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" Index: src/TYPE_INFO_DTOR.cpp =================================================================== --- src/TYPE_INFO_DTOR.cpp (revision 576517) +++ src/TYPE_INFO_DTOR.cpp (working copy) @@ -1,5 +1,27 @@ // checking for type_info dtor +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" Index: src/TYPE_INFO_EQUALITY.cpp =================================================================== --- src/TYPE_INFO_EQUALITY.cpp (revision 576517) +++ src/TYPE_INFO_EQUALITY.cpp (working copy) @@ -1,5 +1,27 @@ // checking for type_info::operator==() +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" Index: src/TYPE_INFO_INEQUALITY.cpp =================================================================== --- src/TYPE_INFO_INEQUALITY.cpp (revision 576517) +++ src/TYPE_INFO_INEQUALITY.cpp (working copy) @@ -1,5 +1,27 @@ // checking for type_info::operator!=() +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" Index: src/TYPE_INFO_NAME.cpp =================================================================== --- src/TYPE_INFO_NAME.cpp (revision 576517) +++ src/TYPE_INFO_NAME.cpp (working copy) @@ -1,5 +1,27 @@ // checking for type_info::name() +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" Index: src/TYPENAME.cpp =================================================================== --- src/TYPENAME.cpp (revision 576517) +++ src/TYPENAME.cpp (working copy) @@ -1,5 +1,26 @@ // checking the typename keyword +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ struct A { Index: src/types.h =================================================================== --- src/types.h (revision 576517) +++ src/types.h (working copy) @@ -1,5 +1,27 @@ // definitions of the type_name() helper overloads +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #define STRSTR(symbol) #symbol #define STR(symbol) STRSTR (symbol) #define DEFINE_TYPE_HELPER(T, symbol) \ Index: src/UNAME.cpp =================================================================== --- src/UNAME.cpp (revision 576517) +++ src/UNAME.cpp (working copy) @@ -1,5 +1,27 @@ // determining OS name and version +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include #if !defined (_WIN32) && !defined (_WIN64) Index: src/UNISTD_DECL.cpp =================================================================== --- src/UNISTD_DECL.cpp (revision 576517) +++ src/UNISTD_DECL.cpp (working copy) @@ -1,5 +1,27 @@ // checking the contents of +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #include Index: src/VA_LIST.cpp =================================================================== --- src/VA_LIST.cpp (revision 576517) +++ src/VA_LIST.cpp (working copy) @@ -1,5 +1,27 @@ // checking the type of va_list +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #include Index: src/VSNPRINTF_RETURN.cpp =================================================================== --- src/VSNPRINTF_RETURN.cpp (revision 576517) +++ src/VSNPRINTF_RETURN.cpp (working copy) @@ -1,5 +1,27 @@ // checking vsnprintf() return value +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include #include Index: src/WCHAR_T.cpp =================================================================== --- src/WCHAR_T.cpp (revision 576517) +++ src/WCHAR_T.cpp (working copy) @@ -1,5 +1,27 @@ // checking for wchar_t support +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #ifndef _RWSTD_NO_WCHAR_H Index: src/WCSFTIME_WCHAR_T_FMAT.cpp =================================================================== --- src/WCSFTIME_WCHAR_T_FMAT.cpp (revision 576517) +++ src/WCSFTIME_WCHAR_T_FMAT.cpp (working copy) @@ -1,5 +1,27 @@ // checking for wcsftime() in +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #include // for size_t Index: src/WCTRANS_T.cpp =================================================================== --- src/WCTRANS_T.cpp (revision 576517) +++ src/WCTRANS_T.cpp (working copy) @@ -1,5 +1,27 @@ // checking for wctrans_t in and +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #ifndef _RWSTD_NO_WCHAR_H Index: src/WCTYPE_T.cpp =================================================================== --- src/WCTYPE_T.cpp (revision 576517) +++ src/WCTYPE_T.cpp (working copy) @@ -1,5 +1,27 @@ // checking for wctype_t in and +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #ifndef _RWSTD_NO_WCHAR_H Index: src/WINT_T.cpp =================================================================== --- src/WINT_T.cpp (revision 576517) +++ src/WINT_T.cpp (working copy) @@ -1,5 +1,27 @@ // checking for wint_t in and +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + #include "config.h" #ifndef _RWSTD_NO_WCHAR_H Index: windows/fun_present_check.cpp =================================================================== --- windows/fun_present_check.cpp (revision 576517) +++ windows/fun_present_check.cpp (working copy) @@ -1,3 +1,26 @@ + +/*************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1999-2007 Rogue Wave Software, Inc. + * + **************************************************************************/ + extern "C" { typedef void (*funptr_t)();