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

#1

Updated by Electric Monk over 3 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 99d29265ec47e10c7ec8c18a67fc83e7dd5ce4f8

commit  99d29265ec47e10c7ec8c18a67fc83e7dd5ce4f8
Author: Toomas Soome <tsoome@me.com>
Date:   2017-06-19T14:47:48.000Z

    8397 sysevent.h: C++11 requires a space between literal and string macro
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Reviewed by: Igor Kozhukhov <igor@dilos.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF