Created
March 11, 2015 21:23
-
-
Save otobrglez/c80f615e237b1ed74ab4 to your computer and use it in GitHub Desktop.
slovene_lemmatizer - warnings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
g++ -O3 -fPIC -fomit-frame-pointer -ffast-math -I./src -I./bindings/java/headers -I./bindings/java/headers/linux -c ./bindings/java/headers/sl_lemmatizer_java.cpp -o ./src/sl_java_headers.o | |
In file included from ./bindings/java/headers/sl_lemmatizer_java.cpp:23: | |
./src/RdrLemmatizer.h:122:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
char *acParSufx = "", char *acParDev = "", char cNewChar=NULL) const; | |
^ | |
./src/RdrLemmatizer.h:122:42: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
char *acParSufx = "", char *acParDev = "", char cNewChar=NULL) const; | |
^ | |
./src/RdrLemmatizer.h:122:60: warning: implicit conversion of NULL constant to 'char' [-Wnull-conversion] | |
char *acParSufx = "", char *acParDev = "", char cNewChar=NULL) const; | |
~^~~~ | |
'\0' | |
3 warnings generated. | |
mkdir -p ./bin | |
g++ ./src/RdrLemmatizer.o ./src/sl_lemmatizer.o ./src/sl_java_headers.o -shared -fPIC -o ./bin/libLemmatizer.so | |
mkdir -p ./bin | |
g++ -O3 -fPIC -fomit-frame-pointer -ffast-math -c ./src/main.c -o ./src/main.o | |
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated | |
g++ ./src/RdrLemmatizer.o ./src/sl_lemmatizer.o ./src/sl_java_headers.o ./src/main.o -o ./bin/lemmatizer | |
g++ -O3 -fPIC -fomit-frame-pointer -ffast-math -I./src -I./bindings/java/headers -I./bindings/java/headers/linux -c ./bindings/java/headers/sl_lemmatizer_java.cpp -o ./src/sl_java_headers.o | |
In file included from ./bindings/java/headers/sl_lemmatizer_java.cpp:23: | |
./src/RdrLemmatizer.h:122:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
char *acParSufx = "", char *acParDev = "", char cNewChar=NULL) const; | |
^ | |
./src/RdrLemmatizer.h:122:42: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
char *acParSufx = "", char *acParDev = "", char cNewChar=NULL) const; | |
^ | |
./src/RdrLemmatizer.h:122:60: warning: implicit conversion of NULL constant to 'char' [-Wnull-conversion] | |
char *acParSufx = "", char *acParDev = "", char cNewChar=NULL) const; | |
~^~~~ | |
'\0' | |
3 warnings generated. | |
g++ -O3 -fPIC -fomit-frame-pointer -ffast-math -c -o src/RdrLemmatizer.o src/RdrLemmatizer.cpp | |
In file included from src/RdrLemmatizer.cpp:19: | |
src/RdrLemmatizer.h:122:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
char *acParSufx = "", char *acParDev = "", char cNewChar=NULL) const; | |
^ | |
src/RdrLemmatizer.h:122:42: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
char *acParSufx = "", char *acParDev = "", char cNewChar=NULL) const; | |
^ | |
src/RdrLemmatizer.h:122:60: warning: implicit conversion of NULL constant to 'char' [-Wnull-conversion] | |
char *acParSufx = "", char *acParDev = "", char cNewChar=NULL) const; | |
~^~~~ | |
'\0' | |
src/RdrLemmatizer.cpp:98:15: warning: comparison between NULL and non-pointer ('byte' (aka 'unsigned char') and NULL) [-Wnull-arithmetic] | |
if (bChar == NULL && iTmpAddr!=NULL) { | |
~~~~~ ^ ~~~~ | |
src/RdrLemmatizer.cpp:98:34: warning: comparison between NULL and non-pointer ('dword' (aka 'unsigned int') and NULL) [-Wnull-arithmetic] | |
if (bChar == NULL && iTmpAddr!=NULL) { | |
~~~~~~~~^ ~~~~ | |
src/RdrLemmatizer.cpp:150:32: warning: implicit conversion of NULL constant to 'char' [-Wnull-conversion] | |
acReturn[iStemLen + iToLen] = NULL; | |
~ ^~~~ | |
'\0' | |
src/RdrLemmatizer.cpp:170:33: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
case TypeRule: acTypeName="RULE"; break; | |
^ | |
src/RdrLemmatizer.cpp:171:33: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
case TypeRuleEw: acTypeName="RULE(entireword)"; break; | |
^ | |
src/RdrLemmatizer.cpp:172:33: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
case TypeLeafAC: acTypeName="LEAF"; break; | |
^ | |
src/RdrLemmatizer.cpp:173:33: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
case TypeLeafACEw: acTypeName="LEAF(entireword)"; break; | |
^ | |
src/RdrLemmatizer.cpp:174:33: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
case TypeIntr: acTypeName="INTER-SHORT"; break; | |
^ | |
src/RdrLemmatizer.cpp:175:33: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
case TypeIntrAC: acTypeName="INTER-LONG"; break; | |
^ | |
src/RdrLemmatizer.cpp:184:3: warning: implicit conversion of NULL constant to 'char' [-Wnull-conversion] | |
GETSTRINGMOVE(char*, acTo, iToLen); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
src/RdrLemmatizer.h:99:22: note: expanded from macro 'GETSTRINGMOVE' | |
acString[iSize] = NULL; \ | |
~ ^ | |
src/RdrLemmatizer.cpp:198:4: warning: implicit conversion of NULL constant to 'char' [-Wnull-conversion] | |
GETSTRINGMOVE(, acNewSuffix, iNewSufxLen); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
src/RdrLemmatizer.h:99:22: note: expanded from macro 'GETSTRINGMOVE' | |
acString[iSize] = NULL; \ | |
~ ^ | |
src/RdrLemmatizer.cpp:202:16: warning: comparison between NULL and non-pointer ('char' and NULL) [-Wnull-arithmetic] | |
if (cNewChar != NULL) { | |
~~~~~~~~ ^ ~~~~ | |
src/RdrLemmatizer.cpp:221:13: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
acSufx = ""; | |
^ | |
src/RdrLemmatizer.cpp:222:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
acSufxDev = "|"; | |
^ | |
src/RdrLemmatizer.cpp:278:15: warning: comparison between NULL and non-pointer ('dword' (aka 'unsigned int') and NULL) [-Wnull-arithmetic] | |
if (iSubs[i]!=NULL) { | |
~~~~~~~~^ ~~~~ | |
18 warnings generated. | |
g++ -O3 -fPIC -fomit-frame-pointer -ffast-math -c -o src/sl_lemmatizer.o src/sl_lemmatizer.cpp | |
In file included from src/sl_lemmatizer.cpp:31: | |
src/RdrLemmatizer.h:122:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
char *acParSufx = "", char *acParDev = "", char cNewChar=NULL) const; | |
^ | |
src/RdrLemmatizer.h:122:42: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
char *acParSufx = "", char *acParDev = "", char cNewChar=NULL) const; | |
^ | |
src/RdrLemmatizer.h:122:60: warning: implicit conversion of NULL constant to 'char' [-Wnull-conversion] | |
char *acParSufx = "", char *acParDev = "", char cNewChar=NULL) const; | |
~^~~~ | |
'\0' | |
3 warnings generated. | |
mkdir -p ./bin | |
g++ ./src/RdrLemmatizer.o ./src/sl_lemmatizer.o ./src/sl_java_headers.o -shared -fPIC -o ./bin/libLemmatizer.so | |
mkdir -p ./bin | |
g++ -O3 -fPIC -fomit-frame-pointer -ffast-math -c ./src/main.c -o ./src/main.o | |
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated | |
g++ ./src/RdrLemmatizer.o ./src/sl_lemmatizer.o ./src/sl_java_headers.o ./src/main.o -o ./bin/lemmatizer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment