Bug 1677

Summary: Not needed ; generated after namespace end
Product: TAO Reporter: Johnny Willemsen <jwillemsen>
Component: IDL CompilerAssignee: Johnny Willemsen <jwillemsen>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P5    
Version: 1.3.5   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 1638    

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.