[umbrello] [Bug 203476] Umbrello does not generate valid C++ code

"Oliver Kellogg" <[email protected]> Wed, 28 Dec 2022 10:42:31 +0000
Newsgroups gmane.linux.umbrello.devel
Message-ID <[email protected]/>
https://bugs.kde.org/show_bug.cgi?id=203476

Oliver Kellogg <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WAITINGFORINFO              |---
                 CC|                            |[email protected].
                   |                            |net
             Status|NEEDSINFO                   |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #6 from Oliver Kellogg <[email protected]> ---
(In reply to kde.berknapp from comment #1)
> [...]
> Why does the code-generator not produce code for enumerations?

Wow, good point. I wonder how this could go unnoticed for so many years.
I did dome digging and found that it dates back to the following commit,

    commit eb1a740a68f62c6f06cb269927a8928ecf31991d
    Author: Jonathan Riddell <[email protected]>
    Date:   Sun Oct 26 13:58:05 2003 +0000

        replace getConcepts() with getClassesAndInterfaces() for codegeneration
        to prevent it generating code for datatypes.

        svn path=/trunk/kdesdk/umbrello/; revision=262158

    M       umbrello/codegenerators/simplecodegenerator.cpp

-- 
You are receiving this mail because:
You are the assignee for the bug.