https://bugs.kde.org/show_bug.cgi?id=377613

Ralf Habacker <ralf.habac...@freenet.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |CONFIRMED

--- Comment #4 from Ralf Habacker <ralf.habac...@freenet.de> ---
In CppWriter::writeHeaderAccessorMethodDecl() there is a call to    
writeAssociationMethods(c->getCompositions(), permitScope,                     
    true, INLINE_ASSOCIATION_METHODS, false, c->id(), stream) which deals with
compositions. 
This method generates the File composition in the class Folder *AND* the Folder
pointer in the File class. For generating the composition the parameter
writePointerVar is set to false to avoid generating classname followed by '*'
in the accessor parameter list. Unfortunally writePointerVar = true is required
to generate the classname followed by '*' in the accessor methods to m_folder
in the File class. So with current code either class Folder is uncompilable or
class File is uncompilable.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to