ssm

Build breaks with clang-6.0.1: invalid suffix on literal; C++11 requires a space between literal and identifier

Bug #1780908 reported by Yuri
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ssm
New
Undecided
Unassigned

Bug Description

superpose.cpp:117:10: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
    " v."superpose_version" from "superpose_date" built with SSM v.%i.%i.%i, "
         ^

You need to add spaces:
--- superpose.cpp.orig 2018-07-10 06:15:41 UTC
+++ superpose.cpp
@@ -114,7 +114,7 @@ void printInstructions ( char *argv0 )
 #endif
     " Protein Structure Superposition\n"
     " -------------------------------\n"
- " v."superpose_version" from "superpose_date" built with SSM v.%i.%i.%i, "
+ " v." superpose_version " from " superpose_date " built with SSM v.%i.%i.%i, "
     "MMDB v.%i.%i.%i\n"
     "\n"
     " USAGE:\n"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.