Bug 107670
Summary: | compile error with gcc; OK with gcc32 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Gene Czarcinski <gczarcinski> | ||||
Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||
Status: | CLOSED NOTABUG | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2003-10-21 21:20:28 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Gene Czarcinski
2003-10-21 21:11:24 UTC
Created attachment 95361 [details]
source code for module getting compile error
See http://gcc.gnu.org/gcc-3.3/changes.html * The preprocessor no longer accepts multi-line string literals. They were deprecated in 3.0, 3.1, and 3.2. Which means you need to fix the code if you want to compile it with gcc 3.3 and later. Either by adding \ at the end of each line in multi-line string, like: "foo\ bar\ baz" or by concatenating one-line strings: "foo\n" "bar\n" "baz\n" Oops ... pilot error ... sort of. The problem still exists with gcc32 since it is using g++ to compile. However, this compiles OK on RHL9. |