Bug 1677 - Not needed ; generated after namespace end
Summary: Not needed ; generated after namespace end
Status: RESOLVED FIXED
Alias: None
Product: TAO
Classification: Unclassified
Component: IDL Compiler (show other bugs)
Version: 1.3.5
Hardware: All All
: P5 blocker
Assignee: Johnny Willemsen
URL:
Depends on:
Blocks: 1638
  Show dependency tree
 
Reported: 2003-12-17 08:18 CST by Johnny Willemsen
Modified: 2004-01-01 10:02 CST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johnny Willemsen 2003-12-17 08:18:48 CST
I am currently building the latest cvs version on a Compaq Tru 64 machine
using the Compaq compiler. This gives several warnings in ace/tao that a ;
is used after the namespace closing. For example in
$(TAO_ROOT)/tao/IOP_IORC.h
 
// Traits specializations.
namespace TAO
{
};
 
This should be
 
// Traits specializations.
namespace TAO
{
}
 
Earlier, we generated a class or a c++ namespace, so the ; was really
needed. Now the ; should not be there anymore. This has influence on the 
TAO_IDL compiler and all generated files in the archive. There are also a few 
ACE/TAO files that have this problem, but I already have several fixes for 
those in my workspace.
Comment 1 Johnny Willemsen 2003-12-22 10:23:51 CST
Also in the generated C.cpp files this problem exists.
Comment 2 Johnny Willemsen 2003-12-27 12:24:15 CST
I just quickly checked a part of the last build log using telnet. Problems 
caused by the idl compiler seems to be gone, only several files in the repo 
still need to be updated. I will take over this issue then, it is much easier 
for me to tackle this.
Comment 3 Johnny Willemsen 2003-12-27 12:28:04 CST
accepting my own bug
Comment 4 Johnny Willemsen 2004-01-01 10:02:28 CST
All warnings are now solved.