| Summary: | kconfig_compiler with GenerateProperties creates uncompilable/wrong code | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kconfig | Reporter: | Albert Astals Cid <aacid> |
| Component: | general | Assignee: | Matthew Dawson <matthew> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ervin, henri, kdelibs-bugs-null, tumaix |
| Priority: | NOR | ||
| Version First Reported In: | 5.67.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
Kevin, Tomaz, added you since you've been having a look at kconfig_compiler recently as far as i can see Could you test https://phabricator.kde.org/D27497 ? I think it will address your issue. Closed by https://phabricator.kde.org/D27497 |
Patch kconfig with this diff --git a/autotests/kconfig_compiler/test13.kcfg b/autotests/kconfig_compiler/test13.kcfg index cf78c70..8224db4 100644 --- a/autotests/kconfig_compiler/test13.kcfg +++ b/autotests/kconfig_compiler/test13.kcfg @@ -8,5 +8,10 @@ <entry name="picturesDir" type="Url" /> <entry name="brightness" type="double" /> <entry name="StartsWithUppercase" type="bool" /> + <entry key="SlidesAdvanceTime" type="UInt" > + <default>5</default> + <min>1</min> + <max>3600</max> + </entry> </group> </kcfg> diff --git a/autotests/kconfig_compiler/test13.kcfgc b/autotests/kconfig_compiler/test13.kcfgc index a0c3c13..27903f6 100644 --- a/autotests/kconfig_compiler/test13.kcfgc +++ b/autotests/kconfig_compiler/test13.kcfgc @@ -1,4 +1,4 @@ ClassName=Test13 GenerateProperties=true -Mutators=brightness +Mutators=true File=test13.kcfg Run make, see how it fails to compile