* installing *source* package ‘tth’ ...
** package ‘tth’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
make[2]: Entering directory '/data/gannet/ripley/R/packages/tests-clang-trunk/tth/src'
/usr/local/clang-trunk/bin/clang -std=gnu2x -w -o tth tth.c
/usr/local/clang-trunk/bin/clang -std=gnu2x -w -o ttm ttm.c
tth.lex:1171:5: error: too many arguments to function call, expected 0, have 3
TTH_DO_MACRO else{TTH_OUTPUT(yytext);}
^~~~~~~~~~~~
tth.lex:996:16: note: expanded from macro 'TTH_DO_MACRO'
ind=indexkey(yytext,keys,&nkeys); \
~~~~~~~~ ^~~~~~~~~~~~~~~~~~
tth.lex:313:12: note: 'indexkey' declared here
static int indexkey();
^
tth.lex:1190:3: error: too many arguments to function call, expected 0, have 1
TTH_PUSH_CLOSING;
^~~~~~~~~~~~~~~~
tth.lex:1074:65: note: expanded from macro 'TTH_PUSH_CLOSING'
#define TTH_PUSH_CLOSING tth_key[tth_push_depth]=nkeys;tth_push(closing)
~~~~~~~~ ^~~~~~~
tth.lex:118:6: note: 'tth_push' declared here
void tth_push(),tth_pop();
^
tth.lex:1198:3: error: too many arguments to function call, expected 0, have 1
TTH_PUSH_CLOSING; TTH_CCPY(closing,"");
^~~~~~~~~~~~~~~~
tth.lex:1074:65: note: expanded from macro 'TTH_PUSH_CLOSING'
#define TTH_PUSH_CLOSING tth_key[tth_push_depth]=nkeys;tth_push(closing)
~~~~~~~~ ^~~~~~~
tth.lex:118:6: note: 'tth_push' declared here
void tth_push(),tth_pop();
^
tth.lex:1207:16: error: too many arguments to function call, expected 0, have 3
js2=indexkey("#1",margkeys,&margmax);
~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~
tth.lex:313:12: note: 'indexkey' declared here
static int indexkey();
^
tth.lex:1210:9: error: too many arguments to function call, expected 0, have 3
rmdef(margkeys,margs,&margmax);
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
tth.lex:314:29: note: 'rmdef' declared here
static void mkkey(),rmkey(),rmdef(),mkdef();
^
tth.lex:1257:16: error: too many arguments to function call, expected 0, have 3
js2=indexkey("#1",margkeys,&margmax);
~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~
tth.lex:313:12: note: 'indexkey' declared here
static int indexkey();
^
tth.lex:1260:9: error: too many arguments to function call, expected 0, have 3
rmdef(margkeys,margs,&margmax);
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
tth.lex:314:29: note: 'rmdef' declared here
static void mkkey(),rmkey(),rmdef(),mkdef();
^
tth.lex:1271:12: error: too many arguments to function call, expected 0, have 2
tth_epsf(chscratch,tth_epsftype);
~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~
tth.lex:554:13: note: 'tth_epsf' declared here
extern void tth_epsf(),tth_symext(),tth_encode(),tth_undefine();
^
tth.lex:1400:3: error: too many arguments to function call, expected 0, have 1
TTH_PUSH_CLOSING;yy_push_state(rawgroup);
^~~~~~~~~~~~~~~~
tth.lex:1074:65: note: expanded from macro 'TTH_PUSH_CLOSING'
#define TTH_PUSH_CLOSING tth_key[tth_push_depth]=nkeys;tth_push(closing)
~~~~~~~~ ^~~~~~~
tth.lex:118:6: note: 'tth_push' declared here
void tth_push(),tth_pop();
^
ttm.lex:1171:5: error: too many arguments to function call, expected 0, have 3
TTH_DO_MACRO else{TTH_OUTPUT(yytext);}
^~~~~~~~~~~~
ttm.lex:996:16: note: expanded from macro 'TTH_DO_MACRO'
ind=indexkey(yytext,keys,&nkeys); \
~~~~~~~~ ^~~~~~~~~~~~~~~~~~
ttm.lex:307:12: note: 'indexkey' declared here
static int indexkey();
^
ttm.lex:1190:3: error: too many arguments to function call, expected 0, have 1
TTH_PUSH_CLOSING;
^~~~~~~~~~~~~~~~
ttm.lex:1074:65: note: expanded from macro 'TTH_PUSH_CLOSING'
#define TTH_PUSH_CLOSING tth_key[tth_push_depth]=nkeys;tth_push(closing)
~~~~~~~~ ^~~~~~~
ttm.lex:112:6: note: 'tth_push' declared here
void tth_push(),tth_pop();
^
ttm.lex:1198:3: error: too many arguments to function call, expected 0, have 1
TTH_PUSH_CLOSING; TTH_CCPY(closing,"");
^~~~~~~~~~~~~~~~
ttm.lex:1074:65: note: expanded from macro 'TTH_PUSH_CLOSING'
#define TTH_PUSH_CLOSING tth_key[tth_push_depth]=nkeys;tth_push(closing)
~~~~~~~~ ^~~~~~~
ttm.lex:112:6: note: 'tth_push' declared here
void tth_push(),tth_pop();
^
ttm.lex:1207:16: error: too many arguments to function call, expected 0, have 3
js2=indexkey("#1",margkeys,&margmax);
~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~
ttm.lex:307:12: note: 'indexkey' declared here
static int indexkey();
^
ttm.lex:1210:9: error: too many arguments to function call, expected 0, have 3
rmdef(margkeys,margs,&margmax);
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
ttm.lex:308:29: note: 'rmdef' declared here
static void mkkey(),rmkey(),rmdef(),mkdef();
^
tth.lex:1633:3: error: too many arguments to function call, expected 0, have 3
TTH_DO_MACRO
^~~~~~~~~~~~
tth.lex:996:16: note: expanded from macro 'TTH_DO_MACRO'
ind=indexkey(yytext,keys,&nkeys); \
~~~~~~~~ ^~~~~~~~~~~~~~~~~~
tth.lex:313:12: note: 'indexkey' declared here
static int indexkey();
^
tth.lex:1634:26: error: too many arguments to function call, expected 0, have 3
else if( (ind=indexkey(yytext,countkeys,&ncounters)) != -1) {
~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
tth.lex:313:12: note: 'indexkey' declared here
static int indexkey();
^
ttm.lex:1257:16: error: too many arguments to function call, expected 0, have 3
js2=indexkey("#1",margkeys,&margmax);
~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~
ttm.lex:307:12: note: 'indexkey' declared here
static int indexkey();
^
ttm.lex:1260:9: error: too many arguments to function call, expected 0, have 3
rmdef(margkeys,margs,&margmax);
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
ttm.lex:308:29: note: 'rmdef' declared here
static void mkkey(),rmkey(),rmdef(),mkdef();
^
tth.lex:1672:3: error: too many arguments to function call, expected 0, have 3
TTH_DO_MACRO
^~~~~~~~~~~~
tth.lex:996:16: note: expanded from macro 'TTH_DO_MACRO'
ind=indexkey(yytext,keys,&nkeys); \
~~~~~~~~ ^~~~~~~~~~~~~~~~~~
tth.lex:313:12: note: 'indexkey' declared here
static int indexkey();
^
ttm.lex:1271:12: error: too many arguments to function call, expected 0, have 2
tth_epsf(chscratch,tth_epsftype);
~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~
ttm.lex:548:13: note: 'tth_epsf' declared here
extern void tth_epsf(),tth_symext(),tth_encode(),tth_undefine();
^
tth.lex:1704:20: error: too many arguments to function call, expected 0, have 3
if(((ind=indexkey(yytext,keys,&nkeys))!=-1) ==
~~~~~~~~ ^~~~~~~~~~~~~~~~~~
tth.lex:313:12: note: 'indexkey' declared here
static int indexkey();
^
tth.lex:1705:18: error: too many arguments to function call, expected 0, have 3
((i=indexkey(strif,keys,&nkeys))!=-1)){
~~~~~~~~ ^~~~~~~~~~~~~~~~~
tth.lex:313:12: note: 'indexkey' declared here
static int indexkey();
^
tth.lex:1709:25: error: too many arguments to function call, expected 0, have 3
}else if((ind=indexkey(yytext,countkeys,&ncounters))!=-1)/*counters*/
~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
tth.lex:313:12: note: 'indexkey' declared here
static int indexkey();
^
tth.lex:1710:23: error: too many arguments to function call, expected 0, have 3
if(ind == indexkey(strif,countkeys,&ncounters))js2=1;
~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
tth.lex:313:12: note: 'indexkey' declared here
static int indexkey();
^
ttm.lex:1400:3: error: too many arguments to function call, expected 0, have 1
TTH_PUSH_CLOSING;yy_push_state(rawgroup);
^~~~~~~~~~~~~~~~
ttm.lex:1074:65: note: expanded from macro 'TTH_PUSH_CLOSING'
#define TTH_PUSH_CLOSING tth_key[tth_push_depth]=nkeys;tth_push(closing)
~~~~~~~~ ^~~~~~~
ttm.lex:112:6: note: 'tth_push' declared here
void tth_push(),tth_pop();
^
tth.lex:1727:25: error: too many arguments to function call, expected 0, have 3
if(!eqalignrow) mkkey(eqstr,eqstrs,&eqdepth); /* Start new row */
~~~~~ ^~~~~~~~~~~~~~~~~~~~~
tth.lex:314:13: note: 'mkkey' declared here
static void mkkey(),rmkey(),rmdef(),mkdef();
^
tth.lex:1767:1: error: too many arguments to function call, expected 0, have 1
TTH_MATHI(219);
^~~~~~~~~~~~~~
tth.lex:933:46: note: expanded from macro 'TTH_MATHI'
#define TTH_MATHI(icr) chr1[0]=icr;TTH_MATHS(chr1);
~~~~~~~~~~^~~~~
tth.lex:932:25: note: expanded from macro 'TTH_MATHS'
strcat(eqstr,TTH_SYMPT(chr)); strcat(eqstr,TTH_SYMENDN);
~~~~~~~~~~^~~~
tth.lex:792:56: note: expanded from macro 'TTH_SYMPT'
#define TTH_SYMPT(chr) (tth_unicode ? tth_symbol_point(chr) : chr)
~~~~~~~~~~~~~~~~ ^~~
tth.lex:119:7: note: 'tth_symbol_point' declared here
char* tth_symbol_point();
^
tth.lex:1783:15: error: too many arguments to function call, expected 0, have 4
tth_enclose(TTH_EQA1,eqstr,TTH_EQA2,eqstore);
~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tth.lex:832:18: note: expanded from macro 'TTH_EQA1'
#define TTH_EQA1 ((tth_debug<2) ? ((eqalignlog) ? "
\n":"\n") : ((eqalignlog) ? "\n":"\n"))
^
tth.lex:647:13: note: 'tth_enclose' declared here
extern void tth_enclose(),tth_prefix();
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
ttm.lex:1633:3: error: too many arguments to function call, expected 0, have 3
TTH_DO_MACRO
^~~~~~~~~~~~
ttm.lex:996:16: note: expanded from macro 'TTH_DO_MACRO'
ind=indexkey(yytext,keys,&nkeys); \
~~~~~~~~ ^~~~~~~~~~~~~~~~~~
ttm.lex:307:12: note: 'indexkey' declared here
static int indexkey();
^
ttm.lex:1634:26: error: too many arguments to function call, expected 0, have 3
else if( (ind=indexkey(yytext,countkeys,&ncounters)) != -1) {
~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
ttm.lex:307:12: note: 'indexkey' declared here
static int indexkey();
^
ttm.lex:1672:3: error: too many arguments to function call, expected 0, have 3
TTH_DO_MACRO
^~~~~~~~~~~~
ttm.lex:996:16: note: expanded from macro 'TTH_DO_MACRO'
ind=indexkey(yytext,keys,&nkeys); \
~~~~~~~~ ^~~~~~~~~~~~~~~~~~
ttm.lex:307:12: note: 'indexkey' declared here
static int indexkey();
^
ttm.lex:1704:20: error: too many arguments to function call, expected 0, have 3
if(((ind=indexkey(yytext,keys,&nkeys))!=-1) ==
~~~~~~~~ ^~~~~~~~~~~~~~~~~~
ttm.lex:307:12: note: 'indexkey' declared here
static int indexkey();
^
ttm.lex:1705:18: error: too many arguments to function call, expected 0, have 3
((i=indexkey(strif,keys,&nkeys))!=-1)){
~~~~~~~~ ^~~~~~~~~~~~~~~~~
ttm.lex:307:12: note: 'indexkey' declared here
static int indexkey();
^
ttm.lex:1709:25: error: too many arguments to function call, expected 0, have 3
}else if((ind=indexkey(yytext,countkeys,&ncounters))!=-1)/*counters*/
~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
ttm.lex:307:12: note: 'indexkey' declared here
static int indexkey();
^
ttm.lex:1710:23: error: too many arguments to function call, expected 0, have 3
if(ind == indexkey(strif,countkeys,&ncounters))js2=1;
~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
ttm.lex:307:12: note: 'indexkey' declared here
static int indexkey();
^
ttm.lex:1727:25: error: too many arguments to function call, expected 0, have 3
if(!eqalignrow) mkkey(eqstr,eqstrs,&eqdepth); /* Start new row */
~~~~~ ^~~~~~~~~~~~~~~~~~~~~
ttm.lex:308:13: note: 'mkkey' declared here
static void mkkey(),rmkey(),rmdef(),mkdef();
^
ttm.lex:1767:1: error: too many arguments to function call, expected 0, have 3
TTH_MATHO("⇔");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ttm.lex:919:24: note: expanded from macro 'TTH_MATHO'
#define TTH_MATHO(chr) TTH_SUBDEFO(chr);
^~~~~~~~~~~~~~~~
ttm.lex:949:34: note: expanded from macro 'TTH_SUBDEFO'
#define TTH_SUBDEFO(chr) mkkey(eqstr,eqstrs,&eqdepth);strcpy(eqstr,chr);\
~~~~~ ^~~~~~~~~~~~~~~~~~~~~
ttm.lex:308:13: note: 'mkkey' declared here
static void mkkey(),rmkey(),rmdef(),mkdef();
^
ttm.lex:1767:1: error: too many arguments to function call, expected 0, have 4
TTH_MATHO("⇔");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ttm.lex:919:24: note: expanded from macro 'TTH_MATHO'
#define TTH_MATHO(chr) TTH_SUBDEFO(chr);
^~~~~~~~~~~~~~~~
ttm.lex:950:15: note: expanded from macro 'TTH_SUBDEFO'
tth_enclose(TTH_MO,eqstr,TTH_MOC,eqstore);\
~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ttm.lex:862:16: note: expanded from macro 'TTH_MO'
#define TTH_MO strcat(strcat(strcpy(mistring,"")
^
ttm.lex:641:13: note: 'tth_enclose' declared here
extern void tth_enclose(),tth_prefix();
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [Makefile:9: ttm] Error 1
20 errors generated.
make[2]: *** [Makefile:6: tth] Error 1
make[2]: Target 'all' not remade because of errors.
make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang-trunk/tth/src'
ERROR: compilation failed for package ‘tth’
* removing ‘/data/gannet/ripley/R/packages/tests-clang-trunk/tth.Rcheck/tth’
|
|
|
|