GnuCash
Contact   Instructions
Bug 797041 - enum confusion in qoflog
Summary: enum confusion in qoflog
Status: RESOLVED FIXED
Alias: None
Product: GnuCash
Classification: Unclassified
Component: Engine (show other bugs)
Version: 3.4
Hardware: PC All
: Normal normal
Target Milestone: ---
Assignee: core
QA Contact: core
URL:
Whiteboard:
Keywords:
: 797040 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-01-11 06:59 EST by Thomas Klausner
Modified: 2019-01-13 19:32 EST (History)
4 users (show)

See Also:


Attachments
Patch fixing the problem. (1023 bytes, patch)
2019-01-11 07:00 EST, Thomas Klausner
jralls: needs-work+
Details
Patch in git format-patch format. (1.28 KB, patch)
2019-01-12 06:15 EST, Thomas Klausner
jralls: committed+
Details

Description Thomas Klausner 2019-01-11 06:59:36 EST
qoflog.cpp uses the wrong enum type in a switch statement. clang 7.0 errors out due to this.
The attached patch fixes the problem and adapts the error strings.
Comment 1 Thomas Klausner 2019-01-11 07:00:01 EST
Created attachment 373123 [details]
Patch fixing the problem.
Comment 2 Thomas Klausner 2019-01-11 07:00:34 EST
*** Bug 797040 has been marked as a duplicate of this bug. ***
Comment 3 John Ralls 2019-01-11 10:43:31 EST
Please recreate your patch with git format-patch. Use "Bug 797041 - enum confusion in qoflog" as the first line of the commit message.
Comment 4 Thomas Klausner 2019-01-12 06:15:15 EST
Created attachment 373125 [details]
Patch in git format-patch format.
Comment 5 John Ralls 2019-01-13 19:32:32 EST
Committed and pushed, thanks.

Note You need to log in before you can comment on or make changes to this bug.