#12768: [Patch] media-add-ons/dvb/config.h: fix gcc6 build
---------------------------------------------+-----------------------------
Reporter: mt | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: Add-Ons/Media | Version:
Keywords: add-ons/media/media-add-ons/dvb | R1/Development
Blocking: | Blocked By:
Platform: All | Has a Patch: 0
---------------------------------------------+-----------------------------
Modify "BUILD" macro to fix "-Werror=literal-suffix" warnings.
{{{
C++ /home/haiku/haiku/haiku/generated-gcc6/objects/haiku/x86/release/add-
ons/media/media-add-ons/dvb/DVBMediaAddon.o
In file included from /home/haiku/haiku/haiku/src/add-ons/media/media-add-
ons/dvb/DVBMediaAddon.cpp:28:0:
/home/haiku/haiku/haiku/src/add-ons/media/media-add-
ons/dvb/config.h:30:27: error: invalid suffix on literal; C++11 requires a
space between literal and string macro [-Werror=literal-suffix]
#define BUILD __DATE__ " "__TIME__
^
cc1plus: all warnings being treated as errors
C++ /home/haiku/haiku/haiku/generated-gcc6/objects/haiku/x86/release/add-
ons/media/media-add-ons/dvb/DVBMediaNode.o
In file included from /home/haiku/haiku/haiku/src/add-ons/media/media-add-
ons/dvb/DVBMediaNode.cpp:52:0:
/home/haiku/haiku/haiku/src/add-ons/media/media-add-
ons/dvb/config.h:30:27: error: invalid suffix on literal; C++11 requires a
space between literal and string macro [-Werror=literal-suffix]
#define BUILD __DATE__ " "__TIME__
^
cc1plus: all warnings being treated as errors
}}}
--
Ticket URL: <https://dev.haiku-os.org/ticket/12768>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.