Opened 9 years ago

Closed 9 years ago

#12769 closed bug (fixed)

[Patch] FireWireDVNode.cpp: fix gcc6 build

Reported by: mt Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Add-Ons/Media Version: R1/Development
Keywords: add-ons/media/media-add-ons/firewire_dv Cc:
Blocked By: Blocking:
Platform: All

Description

Modify "BUILD" macro to fix "-Werror=literal-suffix" warning.

C++ /home/haiku/haiku/haiku/generated-gcc6/objects/haiku/x86/release/add-ons/media/media-add-ons/firewire_dv/FireWireDVNode.o 
/home/haiku/haiku/haiku/src/add-ons/media/media-add-ons/firewire_dv/FireWireDVNode.cpp:41: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

Attachments (1)

0021-FireWireDVNode.cpp-fix-gcc6-build.patch (879 bytes ) - added by mt 9 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by mt, 9 years ago

patch: 01

comment:2 by korli, 9 years ago

+1

comment:3 by waddlesplash, 9 years ago

Resolution: fixed
Status: newclosed

Applied in hrev50308. Thanks!

Note: See TracTickets for help on using tickets.