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

Oliver Kellogg bugzilla_noreply at kde.org
Wed Dec 28 10:42:31 GMT 2022


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

Oliver Kellogg <okellogg at users.sourceforge.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WAITINGFORINFO              |---
                 CC|                            |okellogg at users.sourceforge.
                   |                            |net
             Status|NEEDSINFO                   |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #6 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
(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 <jr at jriddell.org>
    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.


More information about the umbrello-devel mailing list