Add a patch to fix the build with clang 6.
toplsqltext.cpp:80:19: error: cannot initialize a member subobject of type 'const char *' with an rvalue of type 'bool' { NULL, NULL, false, false} ^~~~~
This commit is contained in:
parent
453bf15e6f
commit
db6bc58c59
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=462067
16
databases/tora/files/patch-src_toplsqltext.cpp
Normal file
16
databases/tora/files/patch-src_toplsqltext.cpp
Normal file
@ -0,0 +1,16 @@
|
||||
Fix the build with clang 6.
|
||||
|
||||
toplsqltext.cpp:80:19: error: cannot initialize a member subobject of type 'const char *' with an rvalue of type 'bool'
|
||||
{ NULL, NULL, false, false}
|
||||
^~~~~
|
||||
--- src/toplsqltext.cpp.orig 2018-02-16 21:47:29 UTC
|
||||
+++ src/toplsqltext.cpp
|
||||
@@ -77,7 +77,7 @@ TypeMap[] = { { "FUNCTION", "Fc", ":/icons/function.pn
|
||||
{ "LOOP", "Loop", NULL, false, false},
|
||||
{ "WHILE", "Loop", NULL, false, false},
|
||||
{ "FOR", "Loop", NULL, false, false},
|
||||
- { NULL, NULL, false, false}
|
||||
+ { NULL, NULL, NULL, false, false}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user