gperf - Patches: patch #7383, Fix error when generated C code is...
You are not allowed to post comments on this tracker with your current authentication level.
patch #7383: Fix error when generated C code is compiled as C++
Submitter: | Erik Johansson <erijo> | ||
Submitted: | Fri 12 Nov 2010 10:38:03 AM UTC | ||
Category: | None | Priority: | 5 - Normal |
Status: | Done | Privacy: | Public |
Assigned to: | haible | Open/Closed: | Closed |
Sun 27 Nov 2016 05:29:26 PM UTC, comment #1: |
Bruno Haible <haible> |
Fri 12 Nov 2010 10:38:03 AM UTC, original submission:
If a generated hash file in C is included in a C++ file which is compiled with inlining disabled (e.g. -O0) the process will fail in the link stage due to missing symbols.
|
Erik Johansson <erijo> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2016-11-27 | haible | Status | None | Done | |
Assigned to | None | haible | |||
Open/Closed | Open | Closed | |||
2010-11-12 | erijo | Attached File | - | Added Fix-error-when-generated-C-code-is-compiled-as-C.patch, #21990 |
Powered by Savane 3.13-f8d8.
Corresponding source code
Thanks. Your patch looks good.
However, I happened to fix https://savannah.gnu.org/bugs/?37071 by reducing complexity (giving up on inlining the lookup function entirely) rather than by adding even more #ifs to this fragile area. It fixes your "How to reproduce the problem" steps.