Opened 3 years ago

Closed 3 years ago

#13291 closed bug (fixed)

[Patch] preferences/repositories: fix gcc6 build

Reported by: mt Owned by:
Priority: normal Milestone: Unscheduled
Component: Preferences/Repositories Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: yes Platform: All

Description

In preferences/repositories/constants.h, gcc6 warns -Werror=literal-suffix at line 39 [1] and maybe at line 42 [2]. [1] http://cgit.haiku-os.org/haiku/tree/src/preferences/repositories/constants.h#n39 [2] http://cgit.haiku-os.org/haiku/tree/src/preferences/repositories/constants.h#n42

C++ /home/haiku/haiku/haiku/generated-gcc6/objects/haiku/x86/release/preferences/repositories/AddRepoWindow.o 
In file included from /home/haiku/haiku/haiku/src/preferences/repositories/AddRepoWindow.cpp:19:0:
/home/haiku/haiku/haiku/src/preferences/repositories/constants.h:39:13: error: invalid suffix on literal; C++11 requires a space between literal and string macro [-Werror=literal-suffix]
  { "Haiku", "https://packages.haiku-os.org/haiku/master/"B_HAIKU_ABI_NAME
             ^
cc1plus: all warnings being treated as errors

Attachments (1)

0001-constants.h-fix-gcc6-build.patch (938 bytes ) - added by mt 3 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 by mt, 3 years ago

Has a Patch: set

comment:2 by pulkomandy, 3 years ago

Resolution: fixed
Status: newclosed

Applied in hrev50951.

Note: See TracTickets for help on using tickets.