Project

General

Profile

Bug #8397

sysevent.h: C++11 requires a space between literal and string macro

Added by Toomas Soome over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2017-06-15
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:

Description

Build error with gcc 6:

/code/illumos-gate/proto/root_i386/usr/include/sys/sysevent.h:72:34: error: invalid suffix on literal; C++11 requires a space between literal and string macro [-Werror=literal-suffix]
 #define SUNW_KERN_PUB SUNW_VENDOR":"SE_KERN_PUB
                                  ^
/code/illumos-gate/proto/root_i386/usr/include/sys/sysevent.h:73:33: error: invalid suffix on literal; C++11 requires a space between literal and string macro [-Werror=literal-suffix]
 #define SUNW_USR_PUB SUNW_VENDOR":"SE_USR_PUB
                                 ^
cc1plus: all warnings being treated as errors

Also available in: Atom PDF