|
2017/5/28(Sun) 13:57:01|NO.80019
度々すいません。おぼです。
エラーログを間違えていました。再掲載します。
原因が分かたないので解決する方法をご存じの方おられましたら、ご教授願います。
ーーーーここからーーーーー
root@takumaro-pc:/hsp/hsplinux35b5# make | tee error9.txt
g++ -Wall --exec-charset=UTF-8 -DHSPDISH -DHSPLINUX -DHSPDEBUG -DUSE_OBAQ -c src/hsp3/dpmread.cpp -o src/hsp3/dpmread.do
src/hsp3/dpmread.cpp: In function ‘int dpmchk(char*)’:
src/hsp3/dpmread.cpp:79:17: warning: unused variable ‘uc’ [-Wunused-variable]
unsigned char *uc;
^~
src/hsp3/dpmread.cpp: In function ‘int dpm_fread(void*, int, FILE*)’:
src/hsp3/dpmread.cpp:188:6: warning: unused variable ‘a’ [-Wunused-variable]
int a;
^
src/hsp3/dpmread.cpp:190:17: warning: unused variable ‘p’ [-Wunused-variable]
unsigned char *p;
^
src/hsp3/dpmread.cpp:191:16: warning: unused variable ‘ch’ [-Wunused-variable]
unsigned char ch;
^~
src/hsp3/dpmread.cpp:192:6: warning: unused variable ‘seed1x’ [-Wunused-variable]
int seed1x,seed2x;
^~~~~~
src/hsp3/dpmread.cpp:192:13: warning: unused variable ‘seed2x’ [-Wunused-variable]
int seed1x,seed2x;
^~~~~~
src/hsp3/dpmread.cpp: In function ‘int dpm_ini(char*, long int, int, int)’:
src/hsp3/dpmread.cpp:224:17: warning: unused variable ‘dec’ [-Wunused-variable]
unsigned char *dec;
^~~
src/hsp3/dpmread.cpp:225:14: warning: unused variable ‘hactmp1’ [-Wunused-variable]
HSPAPICHAR *hactmp1 = 0;
^~~~~~~
src/hsp3/dpmread.cpp: At global scope:
src/hsp3/dpmread.cpp:44:19: warning: ‘seed2’ defined but not used [-Wunused-variable]
static int seed1, seed2;
^~~~~
src/hsp3/dpmread.cpp:44:12: warning: ‘seed1’ defined but not used [-Wunused-variable]
static int seed1, seed2;
^~~~~
src/hsp3/dpmread.cpp:33:23: warning: ‘nameptr’ defined but not used [-Wunused-variable]
static unsigned char *nameptr;
^~~~~~~
g++ -Wall --exec-charset=UTF-8 -DHSPDISH -DHSPLINUX -DHSPDEBUG -DUSE_OBAQ -c src/hsp3dish/geometry.cpp -o src/hsp3dish/geometry.do
g++ -Wall --exec-charset=UTF-8 -DHSPDISH -DHSPLINUX -DHSPDEBUG -DUSE_OBAQ -c src/hsp3dish/hgdx.cpp -o src/hsp3dish/hgdx.do
g++ -Wall --exec-charset=UTF-8 -DHSPDISH -DHSPLINUX -DHSPDEBUG -DUSE_OBAQ -c src/hsp3dish/hgemitter.cpp -o src/hsp3dish/hgemitter.do
g++ -Wall --exec-charset=UTF-8 -DHSPDISH -DHSPLINUX -DHSPDEBUG -DUSE_OBAQ -c src/hsp3dish/hgevent.cpp -o src/hsp3dish/hgevent.do
g++ -Wall --exec-charset=UTF-8 -DHSPDISH -DHSPLINUX -DHSPDEBUG -DUSE_OBAQ -c src/hsp3dish/hgmodel.cpp -o src/hsp3dish/hgmodel.do
src/hsp3dish/hgmodel.cpp: In member function ‘int hgmodel::Draw(HGMODEL_DRAWPRM*)’:
src/hsp3dish/hgmodel.cpp:206:8: warning: enumeration value ‘HGMODEL_FLAG_NONE’ not handled in switch [-Wswitch]
switch( flag ) {
^
src/hsp3dish/hgmodel.cpp:206:8: warning: enumeration value ‘HGMODEL_FLAG_POLY4’ not handled in switch [-Wswitch]
src/hsp3dish/hgmodel.cpp:206:8: warning: enumeration value ‘HGMODEL_FLAG_SMODEL’ not handled in switch [-Wswitch]
src/hsp3dish/hgmodel.cpp:206:8: warning: enumeration value ‘HGMODEL_FLAG_XMODEL’ not handled in switch [-Wswitch]
src/hsp3dish/hgmodel.cpp:206:8: warning: enumeration value ‘HGMODEL_FLAG_CAMERA’ not handled in switch [-Wswitch]
src/hsp3dish/hgmodel.cpp:206:8: warning: enumeration value ‘HGMODEL_FLAG_LIGHT’ not handled in switch [-Wswitch]
src/hsp3dish/hgmodel.cpp:206:8: warning: enumeration value ‘HGMODEL_FLAG_EFXMODEL’ not handled in switch [-Wswitch]
src/hsp3dish/hgmodel.cpp:206:8: warning: enumeration value ‘HGMODEL_FLAG_OBAQ3D’ not handled in switch [-Wswitch]
src/hsp3dish/hgmodel.cpp:206:8: warning: enumeration value ‘HGMODEL_FLAG_LINES’ not handled in switch [-Wswitch]
src/hsp3dish/hgmodel.cpp:206:8: warning: enumeration value ‘HGMODEL_FLAG_MAX’ not handled in switch [-Wswitch]
g++ -Wall --exec-charset=UTF-8 -DHSPDISH -DHSPLINUX -DHSPDEBUG -DUSE_OBAQ -c src/hsp3dish/hgobj.cpp -o src/hsp3dish/hgobj.do
g++ -Wall --exec-charset=UTF-8 -DHSPDISH -DHSPLINUX -DHSPDEBUG -DUSE_OBAQ -c src/hsp3/hsp3.cpp -o src/hsp3/hsp3.do
src/hsp3/hsp3.cpp: In member function ‘int Hsp3::Reset(int)’:
src/hsp3/hsp3.cpp:103:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
i = dpm_ini("", mode, hsp_sum, hsp_dec); // customized EXE mode
^
src/hsp3/hsp3.cpp:106:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
dpm_ini( "data.dpm",0,-1,-1 ); // original EXE mode
^
src/hsp3/hsp3.cpp:93:6: warning: variable ‘i’ set but not used [-Wunused-but-set-variable]
int i;
^
g++ -Wall --exec-charset=UTF-8 -DHSPDISH -DHSPLINUX -DHSPDEBUG -DUSE_OBAQ -c src/hsp3/hsp3code.cpp -o src/hsp3/hsp3code.do
src/hsp3/hsp3code.cpp: In function ‘APTR code_getv_sub(PVal**)’:
src/hsp3/hsp3code.cpp:867:6: warning: variable ‘mptype’ set but not used [-Wunused-but-set-variable]
int mptype;
^~~~~~
src/hsp3/hsp3code.cpp: In function ‘APTR code_newstruct(PVal*)’:
src/hsp3/hsp3code.cpp:1286:7: warning: variable ‘ofs’ set but not used [-Wunused-but-set-variable]
APTR ofs;
^~~
src/hsp3/hsp3code.cpp: In function ‘int cmdfunc_prog(int)’:
src/hsp3/hsp3code.cpp:1930:19: warning: variable ‘label’ set but not used [-Wunused-but-set-variable]
unsigned short *label;
^~~~~
src/hsp3/hsp3code.cpp:1987:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
HspVarCoreDupPtr( pval_m, p3, (void *)p1, p2 );
^~
src/hsp3/hsp3code.cpp: In function ‘char* code_getdebug_varname(int)’:
src/hsp3/hsp3code.cpp:2510:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
if ( mem_di_val == NULL ) return "";
^~
src/hsp3/hsp3code.cpp: In function ‘void code_dbg_global()’:
src/hsp3/hsp3code.cpp:3432:43: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
code_adddbg( "axサイズ", hed->allsize );
^
src/hsp3/hsp3code.cpp:3433:49: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
code_adddbg( "コードサイズ", hed->max_cs );
^
src/hsp3/hsp3code.cpp:3434:49: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
code_adddbg( "データサイズ", hed->max_ds );
^
src/hsp3/hsp3code.cpp:3435:44: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
code_adddbg( "変数予約", hed->max_val );
^
src/hsp3/hsp3code.cpp:3436:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
code_adddbg( "実行モード", hspctx->runmode );
^
src/hsp3/hsp3code.cpp:3437:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
code_adddbg( "stat", hspctx->stat );
^
src/hsp3/hsp3code.cpp:3438:60: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
code_adddbg( "cnt", hspctx->mem_loop[hspctx->looplev].cnt );
^
src/hsp3/hsp3code.cpp:3439:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
code_adddbg( "looplev", hspctx->looplev );
^
src/hsp3/hsp3code.cpp:3440:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
code_adddbg( "sublev", hspctx->sublev );
^
src/hsp3/hsp3code.cpp:3441:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
code_adddbg( "iparam", hspctx->iparam );
^
src/hsp3/hsp3code.cpp:3442:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
code_adddbg( "wparam", hspctx->wparam );
^
src/hsp3/hsp3code.cpp:3443:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
code_adddbg( "lparam", hspctx->lparam );
^
src/hsp3/hsp3code.cpp:3444:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
code_adddbg( "refstr", hspctx->refstr );
^
src/hsp3/hsp3code.cpp:3445:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
code_adddbg( "refdval", hspctx->refdval );
^
src/hsp3/hsp3code.cpp: In function ‘void code_arraydump(PVal*)’:
src/hsp3/hsp3code.cpp:3519:61: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
sbStrAdd( &dbgbuf, "(配列の一部だけを表示)\r\n" );
^
src/hsp3/hsp3code.cpp: In function ‘char* code_dbgvarinf(char*, int)’:
src/hsp3/hsp3code.cpp:3574:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
if ( strstr2( name, "@" ) != NULL ) {
^
src/hsp3/hsp3code.cpp:3579:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
sbStrAdd( &dbgbuf, "\r\n" );
^
src/hsp3/hsp3code.cpp:3595:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
code_adddbg2( "変数名", name );
^
src/hsp3/hsp3code.cpp:3596:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
code_adddbg2( "型", proc->vartype_name );
^
src/hsp3/hsp3code.cpp:3598:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
code_adddbg2( "配列", tmp );
^
src/hsp3/hsp3code.cpp:3599:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
code_adddbg2( "モード", pv->mode );
^
src/hsp3/hsp3code.cpp:3600:44: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
code_adddbg2( "使用サイズ", pv->size );
^
src/hsp3/hsp3code.cpp:3605:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
code_adddbg2( "バッファサイズ", size );
^
src/hsp3/hsp3code.cpp:3623:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
code_adddbg( "内容:", p );
^
src/hsp3/hsp3code.cpp:3630:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
code_adddbg( "内容:", tmpbuf );
^
src/hsp3/hsp3code.cpp: At global scope:
src/hsp3/hsp3code.cpp:53:13: warning: ‘prmvar’ defined but not used [-Wunused-variable]
static PVal prmvar; // パラメーターテンポラリ変数の実態
^~~~~~
src/hsp3/hsp3code.cpp:37:23: warning: ‘csvalue2’ defined but not used [-Wunused-variable]
static short csvalue, csvalue2;
^~~~~~~~
g++ -Wall --exec-charset=UTF-8 -DHSPDISH -DHSPLINUX -DHSPDEBUG -DUSE_OBAQ -c src/hsp3/hsp3debug.cpp -o src/hsp3/hsp3debug.do
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
};
^
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
src/hsp3/hsp3debug.cpp:119:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
g++ -Wall --exec-charset=UTF-8 -DHSPDISH -DHSPLINUX -DHSPDEBUG -DUSE_OBAQ -c src/hsp3dish/hsp3gr_dish.cpp -o src/hsp3dish/hsp3gr_dish.do
src/hsp3dish/hsp3gr_dish.cpp: In function ‘int cmdfunc_extcmd(int)’:
src/hsp3dish/hsp3gr_dish.cpp:897:7: warning: variable ‘p7’ set but not used [-Wunused-but-set-variable]
int p7,p8,typeval;
^~
src/hsp3dish/hsp3gr_dish.cpp:897:10: warning: variable ‘p8’ set but not used [-Wunused-but-set-variable]
int p7,p8,typeval;
^~
src/hsp3dish/hsp3gr_dish.cpp:1301:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
webtask->setData( HTTPINFO_DATA, "" ); // 受信データを破棄する
^
src/hsp3dish/hsp3gr_dish.cpp: At global scope:
src/hsp3dish/hsp3gr_dish.cpp:95:12: warning: ‘dxsnd_flag’ defined but not used [-Wunused-variable]
static int dxsnd_flag;
^~~~~~~~~~
src/hsp3dish/hsp3gr_dish.cpp:70:12: warning: ‘dispflg’ defined but not used [-Wunused-variable]
static int dispflg;
^~~~~~~
src/hsp3dish/hsp3gr_dish.cpp:69:12: warning: ‘msact’ defined but not used [-Wunused-variable]
static int msact;
^~~~~
src/hsp3dish/hsp3gr_dish.cpp:63:15: warning: ‘master_bmscr’ defined but not used [-Wunused-variable]
static Bmscr *master_bmscr;
^~~~~~~~~~~~
g++ -Wall --exec-charset=UTF-8 -DHSPDISH -DHSPLINUX -DHSPDEBUG -DUSE_OBAQ -c src/hsp3/hsp3int.cpp -o src/hsp3/hsp3int.do
src/hsp3/hsp3int.cpp: In function ‘double _ease_bounce(double)’:
src/hsp3/hsp3int.cpp:342:30: warning: operation on ‘t’ may be undefined [-Wsequence-point]
return ease_diff*(7.5625*(t-=(1.5/2.75))*t + .75);
~~^~~~~~~~~~~~~
src/hsp3/hsp3int.cpp:344:30: warning: operation on ‘t’ may be undefined [-Wsequence-point]
return ease_diff*(7.5625*(t-=(2.25/2.75))*t + .9375);
~~^~~~~~~~~~~~~~
src/hsp3/hsp3int.cpp:346:30: warning: operation on ‘t’ may be undefined [-Wsequence-point]
return ease_diff*(7.5625*(t-=(2.625/2.75))*t + .984375);
~~^~~~~~~~~~~~~~~
src/hsp3/hsp3int.cpp: In function ‘int cmdfunc_intcmd(int)’:
src/hsp3/hsp3int.cpp:1177:8: warning: variable ‘ap’ set but not used [-Wunused-but-set-variable]
APTR ap;
^~
src/hsp3/hsp3int.cpp:1238:15: warning: variable ‘proc’ set but not used [-Wunused-but-set-variable]
HspVarProc *proc;
^~~~
src/hsp3/hsp3int.cpp: At global scope:
src/hsp3/hsp3int.cpp:224:13: warning: ‘void DataInc(int)’ defined but not used [-Wunused-function]
static void DataInc( int n )
^~~~~~~
src/hsp3/hsp3int.cpp:61:12: warning: ‘qsort_order’ defined but not used [-Wunused-variable]
static int qsort_order;
^~~~~~~~~~~
g++ -Wall --exec-charset=UTF-8 -DHSPDISH -DHSPLINUX -DHSPDEBUG -DUSE_OBAQ -c src/hsp3/hspvar_core.cpp -o src/hsp3/hspvar_core.do
src/hsp3/hspvar_core.cpp: In function ‘void HspVarCoreDup(PVal*, PVal*, APTR)’:
src/hsp3/hspvar_core.cpp:178:14: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]
HspVarProc *p;
^
g++ -Wall --exec-charset=UTF-8 -DHSPDISH -DHSPLINUX -DHSPDEBUG -DUSE_OBAQ -c src/hsp3/hspvar_double.cpp -o src/hsp3/hspvar_double.do
src/hsp3/hspvar_double.cpp: In function ‘void HspVarDouble_Init(HspVarProc*)’:
src/hsp3/hspvar_double.cpp:252:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
p->vartype_name = "double"; // タイプ名
^~~~~~~~
src/hsp3/hspvar_double.cpp: At global scope:
src/hsp3/hspvar_double.cpp:64:12: warning: ‘int GetVarSize(PVal*)’ defined but not used [-Wunused-function]
static int GetVarSize( PVal *pval )
^~~~~~~~~~
g++ -Wall --exec-charset=UTF-8 -DHSPDISH -DHSPLINUX -DHSPDEBUG -DUSE_OBAQ -c src/hsp3/hspvar_int.cpp -o src/hsp3/hspvar_int.do
src/hsp3/hspvar_int.cpp: In function ‘void HspVarInt_Init(HspVarProc*)’:
src/hsp3/hspvar_int.cpp:273:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
p->vartype_name = "int"; // タイプ名
^~~~~
src/hsp3/hspvar_int.cpp: At global scope:
src/hsp3/hspvar_int.cpp:71:12: warning: ‘int GetVarSize(PVal*)’ defined but not used [-Wunused-function]
static int GetVarSize( PVal *pval )
^~~~~~~~~~
g++ -Wall --exec-charset=UTF-8 -DHSPDISH -DHSPLINUX -DHSPDEBUG -DUSE_OBAQ -c src/hsp3/hspvar_label.cpp -o src/hsp3/hspvar_label.do
src/hsp3/hspvar_label.cpp: In function ‘void HspVarLabel_Init(HspVarProc*)’:
src/hsp3/hspvar_label.cpp:106:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
p->vartype_name = "label"; // タイプ名
^~~~~~~
src/hsp3/hspvar_label.cpp: At global scope:
src/hsp3/hspvar_label.cpp:32:12: warning: ‘int GetVarSize(PVal*)’ defined but not used [-Wunused-function]
static int GetVarSize( PVal *pval )
^~~~~~~~~~
g++ -Wall --exec-charset=UTF-8 -DHSPDISH -DHSPLINUX -DHSPDEBUG -DUSE_OBAQ -c src/hsp3/hspvar_str.cpp -o src/hsp3/hspvar_str.do
src/hsp3/hspvar_str.cpp: In function ‘void HspVarStr_Init(HspVarProc*)’:
src/hsp3/hspvar_str.cpp:299:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
p->vartype_name = "str"; // タイプ名
^~~~~
g++ -Wall --exec-charset=UTF-8 -DHSPDISH -DHSPLINUX -DHSPDEBUG -DUSE_OBAQ -c src/hsp3/hspvar_struct.cpp -o src/hsp3/hspvar_struct.do
src/hsp3/hspvar_struct.cpp: In function ‘void HspVarStruct_Init(HspVarProc*)’:
src/hsp3/hspvar_struct.cpp:183:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
p->vartype_name = "struct"; // タイプ名
^~~~~~~~
g++ -Wall --exec-charset=UTF-8 -DHSPDISH -DHSPLINUX -DHSPDEBUG -DUSE_OBAQ -c src/hsp3dish/hspwnd_dish.cpp -o src/hsp3dish/hspwnd_dish.do
src/hsp3dish/hspwnd_dish.cpp: In member function ‘void Bmscr::Cls(int)’:
src/hsp3dish/hspwnd_dish.cpp:349:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
SetFont( "", 18, 0 );
^
g++ -Wall --exec-charset=UTF-8 -DHSPDISH -DHSPLINUX -DHSPDEBUG -DUSE_OBAQ -c src/hsp3dish/hspwnd_obj.cpp -o src/hsp3dish/hspwnd_obj.do
src/hsp3dish/hspwnd_obj.cpp: In function ‘void Object_ButtonDraw(HSPOBJINFO*)’:
src/hsp3dish/hspwnd_obj.cpp:56:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
bm->SetFontInternal( "", 18, 0 );
^
g++ -Wall --exec-charset=UTF-8 -DHSPDISH -DHSPLINUX -DHSPDEBUG -DUSE_OBAQ -c src/hsp3dish/random.cpp -o src/hsp3dish/random.do
g++ -Wall --exec-charset=UTF-8 -DHSPDISH -DHSPLINUX -DHSPDEBUG -DUSE_OBAQ -c src/hsp3/stack.cpp -o src/hsp3/stack.do
src/hsp3/stack.cpp: In function ‘void StackPush(int, char*, int)’:
src/hsp3/stack.cpp:79:10: warning: unused variable ‘dptr’ [-Wunused-variable]
double *dptr;
^~~~
g++ -Wall --exec-charset=UTF-8 -DHSPDISH -DHSPLINUX -DHSPDEBUG -DUSE_OBAQ -c src/hsp3/strbuf.cpp -o src/hsp3/strbuf.do
src/hsp3/strbuf.cpp: In function ‘void BlockInfo(STRINF*)’:
src/hsp3/strbuf.cpp:156:10: warning: variable ‘newst’ set but not used [-Wunused-but-set-variable]
STRBUF *newst;
^~~~~
g++ -Wall --exec-charset=UTF-8 -DHSPDISH -DHSPLINUX -DHSPDEBUG -DUSE_OBAQ -c src/hsp3/strnote.cpp -o src/hsp3/strnote.do
src/hsp3/strnote.cpp: In member function ‘int CStrNote::GetMaxLine()’:
src/hsp3/strnote.cpp:183:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if (a1=13&&*nn==10) nn++;
^
src/hsp3/strnote.cpp: In member function ‘int CStrNote::PutLine(char*, int, int)’:
src/hsp3/strnote.cpp:215:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
if ( nstr == NULL ) { nstr=""; }
^~
src/hsp3/strnote.cpp:230:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if (a1=13&&*p1==10) { p1++;a++; }
^
g++ -Wall --exec-charset=UTF-8 -DHSPDISH -DHSPLINUX -DHSPDEBUG -DUSE_OBAQ -c src/hsp3dish/sysreq.cpp -o src/hsp3dish/sysreq.do
g++ -Wall --exec-charset=UTF-8 -DHSPDISH -DHSPLINUX -DHSPDEBUG -DUSE_OBAQ -c src/hsp3dish/emscripten/hgtex.cpp -o src/hsp3dish/emscripten/hgtex.do
src/hsp3dish/emscripten/hgtex.cpp: In function ‘int RegistTexMem(unsigned char*, int)’:
src/hsp3dish/emscripten/hgtex.cpp:244:8: warning: unused variable ‘x’ [-Wunused-variable]
int x,y;
^
src/hsp3dish/emscripten/hgtex.cpp: In function ‘int MakeEmptyTex(int, int)’:
src/hsp3dish/emscripten/hgtex.cpp:307:17: warning: unused variable ‘pImg’ [-Wunused-variable]
unsigned char *pImg;
^~~~
src/hsp3dish/emscripten/hgtex.cpp: At global scope:
src/hsp3dish/emscripten/hgtex.cpp:351:12: warning: ‘int getCache(char*, short int, int, int)’ defined but not used [-Wunused-function]
static int getCache( char *msg, short mycache, int font_size, int font_style )
^~~~~~~~
src/hsp3dish/emscripten/hgtex.cpp:324:14: warning: ‘short int str2hash(char*, int*)’ defined but not used [-Wunused-function]
static short str2hash( char *msg, int *out_len )
^~~~~~~~
g++ -Wall --exec-charset=UTF-8 -DHSPDISH -DHSPLINUX -DHSPDEBUG -DUSE_OBAQ -c src/hsp3dish/emscripten/hgiox.cpp -o src/hsp3dish/emscripten/hgiox.do
src/hsp3dish/emscripten/hgiox.cpp:120:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
};
^
src/hsp3dish/emscripten/hgiox.cpp:120:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
src/hsp3dish/emscripten/hgiox.cpp:120:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
src/hsp3dish/emscripten/hgiox.cpp:120:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
src/hsp3dish/emscripten/hgiox.cpp:120:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
src/hsp3dish/emscripten/hgiox.cpp:120:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
src/hsp3dish/emscripten/hgiox.cpp:120:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
src/hsp3dish/emscripten/hgiox.cpp:120:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
src/hsp3dish/emscripten/hgiox.cpp:120:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
src/hsp3dish/emscripten/hgiox.cpp:120:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
src/hsp3dish/emscripten/hgiox.cpp:120:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
src/hsp3dish/emscripten/hgiox.cpp:120:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
src/hsp3dish/emscripten/hgiox.cpp:120:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
src/hsp3dish/emscripten/hgiox.cpp:120:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
src/hsp3dish/emscripten/hgiox.cpp:120:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
src/hsp3dish/emscripten/hgiox.cpp:120:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
src/hsp3dish/emscripten/hgiox.cpp:127:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
};
^
src/hsp3dish/emscripten/hgiox.cpp:127:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
src/hsp3dish/emscripten/hgiox.cpp:127:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
src/hsp3dish/emscripten/hgiox.cpp:127:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
src/hsp3dish/emscripten/hgiox.cpp:127:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
src/hsp3dish/emscripten/hgiox.cpp:127:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
src/hsp3dish/emscripten/hgiox.cpp:127:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
src/hsp3dish/emscripten/hgiox.cpp:127:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
src/hsp3dish/emscripten/hgiox.cpp:127:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
src/hsp3dish/emscripten/hgiox.cpp:127:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
src/hsp3dish/emscripten/hgiox.cpp:127:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
src/hsp3dish/emscripten/hgiox.cpp:127:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
src/hsp3dish/emscripten/hgiox.cpp:127:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
src/hsp3dish/emscripten/hgiox.cpp:127:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
src/hsp3dish/emscripten/hgiox.cpp:127:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
src/hsp3dish/emscripten/hgiox.cpp:127:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘GLbyte {aka signed char}’ inside { } [-Wnarrowing]
src/hsp3dish/emscripten/hgiox.cpp: In function ‘int hgio_mes(BMSCR*, char*)’:
src/hsp3dish/emscripten/hgiox.cpp:806:16: warning: unused variable ‘a2’ [-Wunused-variable]
unsigned char a2;
^~
src/hsp3dish/emscripten/hgiox.cpp: In function ‘void hgio_fillrot(BMSCR*, float, float, float, float, float)’:
src/hsp3dish/emscripten/hgiox.cpp:1174:9: warning: unused variable ‘arate’ [-Wunused-variable]
int arate;
^~~~~
src/hsp3dish/emscripten/hgiox.cpp: In function ‘void hgio_copyrot(BMSCR*, short int, short int, short int, short int, float, float, BMSCR*, float, float, float)’:
src/hsp3dish/emscripten/hgiox.cpp:1389:11: warning: unused variable ‘ratex’ [-Wunused-variable]
float ratex,ratey;
^~~~~
src/hsp3dish/emscripten/hgiox.cpp:1389:17: warning: unused variable ‘ratey’ [-Wunused-variable]
float ratex,ratey;
^~~~~
src/hsp3dish/emscripten/hgiox.cpp:1391:18: warning: unused variable ‘texid’ [-Wunused-variable]
int texpx,texpy,texid;
^~~~~
src/hsp3dish/emscripten/hgiox.cpp: In function ‘void hgio_drawsprite(hgmodel*, HGMODEL_DRAWPRM*)’:
src/hsp3dish/emscripten/hgiox.cpp:1957:11: warning: unused variable ‘ratex’ [-Wunused-variable]
float ratex,ratey;
^~~~~
src/hsp3dish/emscripten/hgiox.cpp:1957:17: warning: unused variable ‘ratey’ [-Wunused-variable]
float ratex,ratey;
^~~~~
src/hsp3dish/emscripten/hgiox.cpp:1961:6: warning: unused variable ‘texpx’ [-Wunused-variable]
int texpx,texpy,texid;
^~~~~
src/hsp3dish/emscripten/hgiox.cpp:1961:12: warning: unused variable ‘texpy’ [-Wunused-variable]
int texpx,texpy,texid;
^~~~~
src/hsp3dish/emscripten/hgiox.cpp:1961:18: warning: unused variable ‘texid’ [-Wunused-variable]
int texpx,texpy,texid;
^~~~~
src/hsp3dish/emscripten/hgiox.cpp: In function ‘void hgio_setstorage(char*)’:
src/hsp3dish/emscripten/hgiox.cpp:2223:6: warning: unused variable ‘i’ [-Wunused-variable]
int i;
^
src/hsp3dish/emscripten/hgiox.cpp: At global scope:
src/hsp3dish/emscripten/hgiox.cpp:2183:13: warning: ‘my_storage_path’ defined but not used [-Wunused-variable]
static char my_storage_path[256+64];
^~~~~~~~~~~~~~~
src/hsp3dish/emscripten/hgiox.cpp:192:16: warning: ‘uv2D’ defined but not used [-Wunused-variable]
static GLfloat uv2D[]={
^~~~
src/hsp3dish/emscripten/hgiox.cpp:177:16: warning: ‘vert2D’ defined but not used [-Wunused-variable]
static GLfloat vert2D[]={
^~~~~~
make: *** [src/hsp3dish/emscripten/hgiox.do] エラー 1
makefile:420: ターゲット 'src/hsp3dish/emscripten/hgiox.do' のレシピで失敗しました
root@takumaro-pc:/hsp/hsplinux35b5#
ーーーーーここまでーーーーー
よろしくお願いいたします。おぼ。

| |