HSPポータル
サイトマップ お問い合わせ


HSPTV!掲示板


未解決 解決 停止 削除要請

2017
0916
jsAsterHSP3Dish 「NDKのビルドに失敗しました」24解決


jsAster

リンク

2017/9/16(Sat) 09:51:27|NO.81343

このモジュールを使用してAndroidアプリをビルドするとNDKビルド失敗エラーがでます。

PCでは動作するので原因がわかりません。

解決方法が分からないので教えてください。

「ゑ」などを消して試しましたがエラーが続きました。

#include "hsp3dish.as" #module #defcfunc unc str a lgh=strlen(a) ax=a aa="" b="" c="" sk=0 repeat 32 aa=strmid(ax,sk,6) ;if aa if strmid(aa,0,1)="\\"{ c="□" ;--------------------- if aa="\\u3041":c="ぁ" if aa="\\u3042":c="あ" if aa="\\u3043":c="ぃ" if aa="\\u3044":c="い" if aa="\\u3045":c="ぅ" if aa="\\u3046":c="う" if aa="\\u3047":c="ぇ" if aa="\\u3048":c="え" if aa="\\u3049":c="ぉ" if aa="\\u304a":c="お" if aa="\\u304b":c="か" if aa="\\u304c":c="が" if aa="\\u304d":c="き" if aa="\\u304e":c="ぎ" if aa="\\u304f":c="く" if aa="\\u3050":c="ぐ" if aa="\\u3051":c="け" if aa="\\u3052":c="げ" if aa="\\u3053":c="こ" if aa="\\u3054":c="ご" if aa="\\u3055":c="さ" if aa="\\u3056":c="ざ" if aa="\\u3057":c="し" if aa="\\u3058":c="じ" if aa="\\u3059":c="す" if aa="\\u305a":c="ず" if aa="\\u305b":c="せ" if aa="\\u305c":c="ぜ" if aa="\\u305d":c="そ" if aa="\\u305e":c="ぞ" if aa="\\u305f":c="た" if aa="\\u3060":c="だ" if aa="\\u3061":c="ち" if aa="\\u3062":c="ぢ" if aa="\\u3063":c="っ" if aa="\\u3064":c="つ" if aa="\\u3065":c="づ" if aa="\\u3066":c="て" if aa="\\u3067":c="で" if aa="\\u3068":c="と" if aa="\\u3069":c="ど" if aa="\\u306a":c="な" if aa="\\u306b":c="に" if aa="\\u306c":c="ぬ" if aa="\\u306d":c="ね" if aa="\\u306e":c="の" if aa="\\u306f":c="は" if aa="\\u3070":c="ば" if aa="\\u3071":c="ぱ" if aa="\\u3072":c="ひ" if aa="\\u3073":c="び" if aa="\\u3074":c="ぴ" if aa="\\u3075":c="ふ" if aa="\\u3076":c="ぶ" if aa="\\u3077":c="ぷ" if aa="\\u3078":c="へ" if aa="\\u3079":c="べ" if aa="\\u307a":c="ぺ" if aa="\\u307b":c="ほ" if aa="\\u307c":c="ぼ" if aa="\\u307d":c="ぽ" if aa="\\u307e":c="ま" if aa="\\u307f":c="み" if aa="\\u3080":c="む" if aa="\\u3081":c="め" if aa="\\u3082":c="も" if aa="\\u3083":c="ゃ" if aa="\\u3084":c="や" if aa="\\u3085":c="ゅ" if aa="\\u3086":c="ゆ" if aa="\\u3087":c="ょ" if aa="\\u3088":c="よ" if aa="\\u3089":c="ら" if aa="\\u308a":c="り" if aa="\\u308b":c="る" if aa="\\u308c":c="れ" if aa="\\u308d":c="ろ" if aa="\\u308e":c="ゎ" if aa="\\u308f":c="わ" if aa="\\u3090":c="ゐ" if aa="\\u3091":c="ゑ" if aa="\\u3092":c="を" if aa="\\u3093":c="ん" ;--------------------- if aa="\\u30fc":c="ー" if aa="\\u3001":c="、" if aa="\\u3002":c="。" if aa="\\uff01":c="!" if aa="\\uff1f":c="?" if aa="\\u330c":c="「" if aa="\\u330e":c="」" if aa="\\u3010":c="【" if aa="\\u3011":c="】" ;--------------------- if aa="\\u30a1":c="ァ" if aa="\\u30a2":c="ア" if aa="\\u30a3":c="ィ" if aa="\\u30a4":c="イ" if aa="\\u30a5":c="ゥ" if aa="\\u30a6":c="ウ" if aa="\\u30a7":c="ェ" if aa="\\u30a8":c="エ" if aa="\\u30a9":c="ォ" if aa="\\u30aa":c="オ" if aa="\\u30ab":c="カ" if aa="\\u30ac":c="ガ" if aa="\\u30ad":c="キ" if aa="\\u30ae":c="ギ" if aa="\\u30af":c="ク" if aa="\\u30b0":c="グ" if aa="\\u30b1":c="ケ" if aa="\\u30b2":c="ゲ" if aa="\\u30b3":c="コ" if aa="\\u30b4":c="ゴ" if aa="\\u30b5":c="サ" if aa="\\u30b6":c="ザ" if aa="\\u30b7":c="シ" if aa="\\u30b8":c="ジ" if aa="\\u30b9":c="ス" if aa="\\u30ba":c="ズ" if aa="\\u30bb":c="セ" if aa="\\u30bc":c="ゼ" if aa="\\u30bd":c="ソ" if aa="\\u30be":c="ゾ" if aa="\\u30bf":c="タ" if aa="\\u30c0":c="ダ" if aa="\\u30c1":c="チ" if aa="\\u30c2":c="ヂ" if aa="\\u30c3":c="ッ" if aa="\\u30c4":c="ツ" if aa="\\u30c5":c="ヅ" if aa="\\u30c6":c="テ" if aa="\\u30c7":c="デ" if aa="\\u30c8":c="ト" if aa="\\u30c9":c="ド" if aa="\\u30ca":c="ナ" if aa="\\u30cb":c="ニ" if aa="\\u30cc":c="ヌ" if aa="\\u30cd":c="ネ" if aa="\\u30ce":c="ノ" if aa="\\u30cf":c="ハ" if aa="\\u30d0":c="バ" if aa="\\u30d1":c="パ" if aa="\\u30d2":c="ヒ" if aa="\\u30d3":c="ビ" if aa="\\u30d4":c="ピ" if aa="\\u30d5":c="フ" if aa="\\u30d6":c="ブ" if aa="\\u30d7":c="プ" if aa="\\u30d8":c="ヘ" if aa="\\u30d9":c="ベ" if aa="\\u30da":c="ペ" if aa="\\u30db":c="ホ" if aa="\\u30dc":c="ボ" if aa="\\u30dd":c="ポ" if aa="\\u30de":c="マ" if aa="\\u30df":c="ミ" if aa="\\u30e0":c="ム" if aa="\\u30e1":c="メ" if aa="\\u30e2":c="モ" if aa="\\u30e3":c="ャ" if aa="\\u30e4":c="ヤ" if aa="\\u30e5":c="ュ" if aa="\\u30e6":c="ユ" if aa="\\u30e7":c="ョ" if aa="\\u30e8":c="ヨ" if aa="\\u30e9":c="ラ" if aa="\\u30ea":c="リ" if aa="\\u30eb":c="ル" if aa="\\u30ec":c="レ" if aa="\\u30ed":c="ロ" if aa="\\u30ee":c="ヮ" if aa="\\u30ef":c="ワ" if aa="\\u30f0":c="ヰ" if aa="\\u30f1":c="ヱ" if aa="\\u30f2":c="ヲ" if aa="\\u30f3":c="ン" if aa="\\u30f4":c="ヴ" if aa="\\u30f5":c="ヵ" if aa="\\u30f6":c="ヶ" ;--------------------- sk+=6 }else{ sk++ c=strmid(aa,0,1) } b=""+b+c await ;stop loop return b #global



この記事に返信する


ゲストユーザー

リンク

2017/9/16(Sat) 10:38:43|NO.81344

何かわからないから直ぐ質問・・・ではなく、少しは調べるようにしましょう。
http://hsp.tv/play/pforum.php?mode=pastwch&num=65925
等過去ログにもあるように情報が不足してます。
また、他にもいろいろ対処法などありますがどれか試したものはあるのでしょうか?



jsAster

リンク

2017/9/16(Sat) 10:44:08|NO.81345

ほかのプログラムは正しくビルドされます。

パスなども問題ありません。



jsAster

リンク

2017/9/16(Sat) 19:21:00|NO.81348

出力:


[armeabi-v7a] Compile++ thumb: Zc01 <= hspsource.cpp jni/hsp3embed/hspsource.cpp:1188:10: warning: missing terminating " character [enabled by default] jni/hsp3embed/hspsource.cpp:1188:2: error: missing terminating " character jni/hsp3embed/hspsource.cpp: In function 'void L0001()': jni/hsp3embed/hspsource.cpp:50:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:53:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:56:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0004()': jni/hsp3embed/hspsource.cpp:79:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:82:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:85:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:88:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0006()': jni/hsp3embed/hspsource.cpp:95:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:98:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0007()': jni/hsp3embed/hspsource.cpp:105:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:108:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0008()': jni/hsp3embed/hspsource.cpp:115:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:118:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0009()': jni/hsp3embed/hspsource.cpp:125:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:128:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0010()': jni/hsp3embed/hspsource.cpp:135:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:138:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0011()': jni/hsp3embed/hspsource.cpp:145:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:148:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0012()': jni/hsp3embed/hspsource.cpp:155:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:158:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0013()': jni/hsp3embed/hspsource.cpp:165:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:168:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0014()': jni/hsp3embed/hspsource.cpp:175:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:178:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0015()': jni/hsp3embed/hspsource.cpp:185:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:188:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0016()': jni/hsp3embed/hspsource.cpp:195:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:198:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0017()': jni/hsp3embed/hspsource.cpp:205:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:208:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0018()': jni/hsp3embed/hspsource.cpp:215:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:218:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0019()': jni/hsp3embed/hspsource.cpp:225:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:228:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0020()': jni/hsp3embed/hspsource.cpp:235:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:238:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0021()': jni/hsp3embed/hspsource.cpp:245:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:248:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0022()': jni/hsp3embed/hspsource.cpp:255:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:258:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0023()': jni/hsp3embed/hspsource.cpp:265:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:268:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0024()': jni/hsp3embed/hspsource.cpp:275:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:278:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0025()': jni/hsp3embed/hspsource.cpp:285:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:288:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0026()': jni/hsp3embed/hspsource.cpp:295:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:298:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0027()': jni/hsp3embed/hspsource.cpp:305:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:308:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0028()': jni/hsp3embed/hspsource.cpp:315:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:318:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0029()': jni/hsp3embed/hspsource.cpp:325:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:328:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0030()': jni/hsp3embed/hspsource.cpp:335:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:338:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0031()': jni/hsp3embed/hspsource.cpp:345:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:348:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0032()': jni/hsp3embed/hspsource.cpp:355:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:358:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0033()': jni/hsp3embed/hspsource.cpp:365:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:368:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0034()': jni/hsp3embed/hspsource.cpp:375:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:378:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0035()': jni/hsp3embed/hspsource.cpp:385:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:388:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0036()': jni/hsp3embed/hspsource.cpp:395:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:398:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0037()': jni/hsp3embed/hspsource.cpp:405:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:408:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0038()': jni/hsp3embed/hspsource.cpp:415:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:418:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0039()': jni/hsp3embed/hspsource.cpp:425:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:428:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0040()': jni/hsp3embed/hspsource.cpp:435:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:438:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0041()': jni/hsp3embed/hspsource.cpp:445:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:448:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0042()': jni/hsp3embed/hspsource.cpp:455:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:458:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0043()': jni/hsp3embed/hspsource.cpp:465:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:468:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0044()': jni/hsp3embed/hspsource.cpp:475:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:478:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0045()': jni/hsp3embed/hspsource.cpp:485:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:488:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0046()': jni/hsp3embed/hspsource.cpp:495:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:498:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0047()': jni/hsp3embed/hspsource.cpp:505:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:508:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0048()': jni/hsp3embed/hspsource.cpp:515:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:518:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0049()': jni/hsp3embed/hspsource.cpp:525:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:528:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0050()': jni/hsp3embed/hspsource.cpp:535:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:538:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0051()': jni/hsp3embed/hspsource.cpp:545:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:548:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0052()': jni/hsp3embed/hspsource.cpp:555:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:558:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0053()': jni/hsp3embed/hspsource.cpp:565:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:568:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0054()': jni/hsp3embed/hspsource.cpp:575:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:578:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0055()': jni/hsp3embed/hspsource.cpp:585:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:588:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0056()': jni/hsp3embed/hspsource.cpp:595:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:598:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0057()': jni/hsp3embed/hspsource.cpp:605:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:608:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0058()': jni/hsp3embed/hspsource.cpp:615:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:618:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0059()': jni/hsp3embed/hspsource.cpp:625:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:628:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0060()': jni/hsp3embed/hspsource.cpp:635:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:638:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0061()': jni/hsp3embed/hspsource.cpp:645:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:648:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0062()': jni/hsp3embed/hspsource.cpp:655:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:658:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0063()': jni/hsp3embed/hspsource.cpp:665:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:668:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0064()': jni/hsp3embed/hspsource.cpp:675:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:678:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0065()': jni/hsp3embed/hspsource.cpp:685:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:688:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0066()': jni/hsp3embed/hspsource.cpp:695:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:698:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0067()': jni/hsp3embed/hspsource.cpp:705:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:708:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0068()': jni/hsp3embed/hspsource.cpp:715:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:718:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0069()': jni/hsp3embed/hspsource.cpp:725:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:728:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0070()': jni/hsp3embed/hspsource.cpp:735:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:738:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0071()': jni/hsp3embed/hspsource.cpp:745:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:748:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0072()': jni/hsp3embed/hspsource.cpp:755:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:758:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0073()': jni/hsp3embed/hspsource.cpp:765:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:768:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0074()': jni/hsp3embed/hspsource.cpp:775:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:778:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0075()': jni/hsp3embed/hspsource.cpp:785:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:788:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0076()': jni/hsp3embed/hspsource.cpp:795:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:798:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0077()': jni/hsp3embed/hspsource.cpp:805:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:808:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0078()': jni/hsp3embed/hspsource.cpp:815:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:818:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0079()': jni/hsp3embed/hspsource.cpp:825:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:828:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0080()': jni/hsp3embed/hspsource.cpp:835:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:838:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0081()': jni/hsp3embed/hspsource.cpp:845:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:848:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0082()': jni/hsp3embed/hspsource.cpp:855:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:858:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0083()': jni/hsp3embed/hspsource.cpp:865:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:868:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0084()': jni/hsp3embed/hspsource.cpp:875:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:878:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0085()': jni/hsp3embed/hspsource.cpp:885:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:888:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0086()': jni/hsp3embed/hspsource.cpp:895:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:898:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0087()': jni/hsp3embed/hspsource.cpp:905:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:908:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0088()': jni/hsp3embed/hspsource.cpp:915:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:918:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0089()': jni/hsp3embed/hspsource.cpp:925:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:928:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0090()': jni/hsp3embed/hspsource.cpp:935:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:938:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0091()': jni/hsp3embed/hspsource.cpp:945:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:948:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0092()': jni/hsp3embed/hspsource.cpp:955:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:958:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0093()': jni/hsp3embed/hspsource.cpp:965:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:968:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0094()': jni/hsp3embed/hspsource.cpp:975:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:978:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0095()': jni/hsp3embed/hspsource.cpp:985:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:988:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0096()': jni/hsp3embed/hspsource.cpp:995:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:998:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0097()': jni/hsp3embed/hspsource.cpp:1005:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1008:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0098()': jni/hsp3embed/hspsource.cpp:1015:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1018:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0099()': jni/hsp3embed/hspsource.cpp:1025:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1028:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0100()': jni/hsp3embed/hspsource.cpp:1035:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1038:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0101()': jni/hsp3embed/hspsource.cpp:1045:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1048:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0102()': jni/hsp3embed/hspsource.cpp:1055:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1058:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0103()': jni/hsp3embed/hspsource.cpp:1065:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1068:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0104()': jni/hsp3embed/hspsource.cpp:1075:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1078:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0105()': jni/hsp3embed/hspsource.cpp:1085:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1088:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0106()': jni/hsp3embed/hspsource.cpp:1095:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1098:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0107()': jni/hsp3embed/hspsource.cpp:1105:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1108:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0108()': jni/hsp3embed/hspsource.cpp:1115:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1118:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0109()': jni/hsp3embed/hspsource.cpp:1125:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1128:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0110()': jni/hsp3embed/hspsource.cpp:1135:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1138:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0111()': jni/hsp3embed/hspsource.cpp:1145:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1148:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0112()': jni/hsp3embed/hspsource.cpp:1155:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1158:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0113()': jni/hsp3embed/hspsource.cpp:1165:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1168:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0114()': jni/hsp3embed/hspsource.cpp:1175:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1178:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0115()': jni/hsp3embed/hspsource.cpp:1185:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1189:17: error: expected ')' before ';' token jni/hsp3embed/hspsource.cpp: In function 'void L0116()': jni/hsp3embed/hspsource.cpp:1195:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1198:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0117()': jni/hsp3embed/hspsource.cpp:1205:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1208:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0118()': jni/hsp3embed/hspsource.cpp:1215:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1218:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0119()': jni/hsp3embed/hspsource.cpp:1225:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1228:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0120()': jni/hsp3embed/hspsource.cpp:1235:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1238:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0121()': jni/hsp3embed/hspsource.cpp:1245:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1248:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0122()': jni/hsp3embed/hspsource.cpp:1255:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1258:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0123()': jni/hsp3embed/hspsource.cpp:1265:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1268:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0124()': jni/hsp3embed/hspsource.cpp:1275:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1278:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0125()': jni/hsp3embed/hspsource.cpp:1285:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1288:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0126()': jni/hsp3embed/hspsource.cpp:1295:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1298:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0127()': jni/hsp3embed/hspsource.cpp:1305:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1308:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0128()': jni/hsp3embed/hspsource.cpp:1315:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1318:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0129()': jni/hsp3embed/hspsource.cpp:1325:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1328:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0130()': jni/hsp3embed/hspsource.cpp:1335:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1338:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0131()': jni/hsp3embed/hspsource.cpp:1345:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1348:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0132()': jni/hsp3embed/hspsource.cpp:1355:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1358:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0133()': jni/hsp3embed/hspsource.cpp:1365:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1368:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0134()': jni/hsp3embed/hspsource.cpp:1375:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1378:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0135()': jni/hsp3embed/hspsource.cpp:1385:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1388:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0136()': jni/hsp3embed/hspsource.cpp:1395:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1398:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0137()': jni/hsp3embed/hspsource.cpp:1405:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1408:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0138()': jni/hsp3embed/hspsource.cpp:1415:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1418:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0139()': jni/hsp3embed/hspsource.cpp:1425:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1428:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0140()': jni/hsp3embed/hspsource.cpp:1435:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1438:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0141()': jni/hsp3embed/hspsource.cpp:1445:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1448:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0142()': jni/hsp3embed/hspsource.cpp:1455:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1458:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0143()': jni/hsp3embed/hspsource.cpp:1465:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1468:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0144()': jni/hsp3embed/hspsource.cpp:1475:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1478:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0145()': jni/hsp3embed/hspsource.cpp:1485:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1488:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0146()': jni/hsp3embed/hspsource.cpp:1495:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1498:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0147()': jni/hsp3embed/hspsource.cpp:1505:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1508:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0148()': jni/hsp3embed/hspsource.cpp:1515:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1518:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0149()': jni/hsp3embed/hspsource.cpp:1525:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1528:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0150()': jni/hsp3embed/hspsource.cpp:1535:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1538:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0151()': jni/hsp3embed/hspsource.cpp:1545:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1548:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0152()': jni/hsp3embed/hspsource.cpp:1555:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1558:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0153()': jni/hsp3embed/hspsource.cpp:1565:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1568:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0154()': jni/hsp3embed/hspsource.cpp:1575:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1578:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0155()': jni/hsp3embed/hspsource.cpp:1585:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1588:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0156()': jni/hsp3embed/hspsource.cpp:1595:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1598:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0157()': jni/hsp3embed/hspsource.cpp:1605:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1608:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0158()': jni/hsp3embed/hspsource.cpp:1615:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1618:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0159()': jni/hsp3embed/hspsource.cpp:1625:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1628:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0160()': jni/hsp3embed/hspsource.cpp:1635:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1638:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0161()': jni/hsp3embed/hspsource.cpp:1645:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1648:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0162()': jni/hsp3embed/hspsource.cpp:1655:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1658:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0163()': jni/hsp3embed/hspsource.cpp:1665:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1668:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0164()': jni/hsp3embed/hspsource.cpp:1675:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1678:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0165()': jni/hsp3embed/hspsource.cpp:1685:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1688:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0166()': jni/hsp3embed/hspsource.cpp:1695:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp:1698:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0168()': jni/hsp3embed/hspsource.cpp:1725:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jni/hsp3embed/hspsource.cpp: In function 'void L0000()': jni/hsp3embed/hspsource.cpp:1752:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] make.exe: *** [obj/local/armeabi-v7a/objs/Zc01/hsp3embed/hspsource.o] Error 1



jsAster

リンク

2017/9/18(Mon) 09:03:08|NO.81365

IFが多すぎる可能性が出てきました…
皆さんエラー出ませんか?



ゲストユーザー

リンク

2017/9/18(Mon) 09:12:07|NO.81366

自分はNDKとか1GBを超えるファイルをダウンロードするには
明らかに速度が足りないネット回線しかないので試しませんが
「ifが多すぎる可能性が出てきた」
のであれば自分でifの数を減らして試したのでいいかと思うのですが・・・。



しまくろねこ

リンク

2017/9/18(Mon) 10:05:58|NO.81367

こんにちは。

ゲストユーザーさんのいうとおり、もしifの数が怪しいと思うのであれば一度ifを減らしてテストしてみるといいでしょう。
また、jsAsterさんが最初に掲示した(NO.81343)モジュールだけのスクリプトをビルドしてみましたが、とくにNDKエラーは出ませんでした。

気になったのは、
>「このモジュールを使用して・・・」
と書いてありますが、jsAsterさんが最初に掲示したスクリプトはモジュールの部分だけとお見受けしましたが、モジュール部も含めてNDKエラーとなる最小限のスクリプトを掲示した方が良いかとも思います。



jsAster

リンク

2017/9/18(Mon) 10:17:04|NO.81368

ひらがな変換のみではビルド可能です。

a=unc("ランランルーらんらんるー")



しまくろねこ

リンク

2017/9/18(Mon) 10:41:05|NO.81369

念のためもう一度書きますが、NDKエラーとなる最小限のスクリプト(モジュール部も含めてエラーが起こるスクリプト全文)を掲示した方が良いかとも思われます。



jsAster

リンク

2017/9/18(Mon) 12:02:09|NO.81371


#include "hsp3dish.as" #module #defcfunc unc str a lgh=strlen(a) ax=a aa="" b="" c="" sk=0 repeat 32 aa=strmid(ax,sk,6) ;if aa if strmid(aa,0,1)="\\"{ c="□" ;--------------------- if aa="\\u3041":c="ぁ" if aa="\\u3042":c="あ" if aa="\\u3043":c="ぃ" if aa="\\u3044":c="い" if aa="\\u3045":c="ぅ" if aa="\\u3046":c="う" if aa="\\u3047":c="ぇ" if aa="\\u3048":c="え" if aa="\\u3049":c="ぉ" if aa="\\u304a":c="お" if aa="\\u304b":c="か" if aa="\\u304c":c="が" if aa="\\u304d":c="き" if aa="\\u304e":c="ぎ" if aa="\\u304f":c="く" if aa="\\u3050":c="ぐ" if aa="\\u3051":c="け" if aa="\\u3052":c="げ" if aa="\\u3053":c="こ" if aa="\\u3054":c="ご" if aa="\\u3055":c="さ" if aa="\\u3056":c="ざ" if aa="\\u3057":c="し" if aa="\\u3058":c="じ" if aa="\\u3059":c="す" if aa="\\u305a":c="ず" if aa="\\u305b":c="せ" if aa="\\u305c":c="ぜ" if aa="\\u305d":c="そ" if aa="\\u305e":c="ぞ" if aa="\\u305f":c="た" if aa="\\u3060":c="だ" if aa="\\u3061":c="ち" if aa="\\u3062":c="ぢ" if aa="\\u3063":c="っ" if aa="\\u3064":c="つ" if aa="\\u3065":c="づ" if aa="\\u3066":c="て" if aa="\\u3067":c="で" if aa="\\u3068":c="と" if aa="\\u3069":c="ど" if aa="\\u306a":c="な" if aa="\\u306b":c="に" if aa="\\u306c":c="ぬ" if aa="\\u306d":c="ね" if aa="\\u306e":c="の" if aa="\\u306f":c="は" if aa="\\u3070":c="ば" if aa="\\u3071":c="ぱ" if aa="\\u3072":c="ひ" if aa="\\u3073":c="び" if aa="\\u3074":c="ぴ" if aa="\\u3075":c="ふ" if aa="\\u3076":c="ぶ" if aa="\\u3077":c="ぷ" if aa="\\u3078":c="へ" if aa="\\u3079":c="べ" if aa="\\u307a":c="ぺ" if aa="\\u307b":c="ほ" if aa="\\u307c":c="ぼ" if aa="\\u307d":c="ぽ" if aa="\\u307e":c="ま" if aa="\\u307f":c="み" if aa="\\u3080":c="む" if aa="\\u3081":c="め" if aa="\\u3082":c="も" if aa="\\u3083":c="ゃ" if aa="\\u3084":c="や" if aa="\\u3085":c="ゅ" if aa="\\u3086":c="ゆ" if aa="\\u3087":c="ょ" if aa="\\u3088":c="よ" if aa="\\u3089":c="ら" if aa="\\u308a":c="り" if aa="\\u308b":c="る" if aa="\\u308c":c="れ" if aa="\\u308d":c="ろ" if aa="\\u308e":c="ゎ" if aa="\\u308f":c="わ" if aa="\\u3090":c="ゐ" if aa="\\u3091":c="ゑ" if aa="\\u3092":c="を" if aa="\\u3093":c="ん" ;--------------------- if aa="\\u30fc":c="ー" if aa="\\u3001":c="、" if aa="\\u3002":c="。" if aa="\\uff01":c="!" if aa="\\uff1f":c="?" if aa="\\u330c":c="「" if aa="\\u330e":c="」" if aa="\\u3010":c="【" if aa="\\u3011":c="】" ;--------------------- if aa="\\u30a1":c="ァ" if aa="\\u30a2":c="ア" if aa="\\u30a3":c="ィ" if aa="\\u30a4":c="イ" if aa="\\u30a5":c="ゥ" if aa="\\u30a6":c="ウ" if aa="\\u30a7":c="ェ" if aa="\\u30a8":c="エ" if aa="\\u30a9":c="ォ" if aa="\\u30aa":c="オ" if aa="\\u30ab":c="カ" if aa="\\u30ac":c="ガ" if aa="\\u30ad":c="キ" if aa="\\u30ae":c="ギ" if aa="\\u30af":c="ク" if aa="\\u30b0":c="グ" if aa="\\u30b1":c="ケ" if aa="\\u30b2":c="ゲ" if aa="\\u30b3":c="コ" if aa="\\u30b4":c="ゴ" if aa="\\u30b5":c="サ" if aa="\\u30b6":c="ザ" if aa="\\u30b7":c="シ" if aa="\\u30b8":c="ジ" if aa="\\u30b9":c="ス" if aa="\\u30ba":c="ズ" if aa="\\u30bb":c="セ" if aa="\\u30bc":c="ゼ" if aa="\\u30bd":c="ソ" if aa="\\u30be":c="ゾ" if aa="\\u30bf":c="タ" if aa="\\u30c0":c="ダ" if aa="\\u30c1":c="チ" if aa="\\u30c2":c="ヂ" if aa="\\u30c3":c="ッ" if aa="\\u30c4":c="ツ" if aa="\\u30c5":c="ヅ" if aa="\\u30c6":c="テ" if aa="\\u30c7":c="デ" if aa="\\u30c8":c="ト" if aa="\\u30c9":c="ド" if aa="\\u30ca":c="ナ" if aa="\\u30cb":c="ニ" if aa="\\u30cc":c="ヌ" if aa="\\u30cd":c="ネ" if aa="\\u30ce":c="ノ" if aa="\\u30cf":c="ハ" if aa="\\u30d0":c="バ" if aa="\\u30d1":c="パ" if aa="\\u30d2":c="ヒ" if aa="\\u30d3":c="ビ" if aa="\\u30d4":c="ピ" if aa="\\u30d5":c="フ" if aa="\\u30d6":c="ブ" if aa="\\u30d7":c="プ" if aa="\\u30d8":c="ヘ" if aa="\\u30d9":c="ベ" if aa="\\u30da":c="ペ" if aa="\\u30db":c="ホ" if aa="\\u30dc":c="ボ" if aa="\\u30dd":c="ポ" if aa="\\u30de":c="マ" if aa="\\u30df":c="ミ" if aa="\\u30e0":c="ム" if aa="\\u30e1":c="メ" if aa="\\u30e2":c="モ" if aa="\\u30e3":c="ャ" if aa="\\u30e4":c="ヤ" if aa="\\u30e5":c="ュ" if aa="\\u30e6":c="ユ" if aa="\\u30e7":c="ョ" if aa="\\u30e8":c="ヨ" if aa="\\u30e9":c="ラ" if aa="\\u30ea":c="リ" if aa="\\u30eb":c="ル" if aa="\\u30ec":c="レ" if aa="\\u30ed":c="ロ" if aa="\\u30ee":c="ヮ" if aa="\\u30ef":c="ワ" if aa="\\u30f0":c="ヰ" if aa="\\u30f1":c="ヱ" if aa="\\u30f2":c="ヲ" if aa="\\u30f3":c="ン" if aa="\\u30f4":c="ヴ" if aa="\\u30f5":c="ヵ" if aa="\\u30f6":c="ヶ" ;--------------------- sk+=6 }else{ sk++ c=strmid(aa,0,1) } b=""+b+c await ;stop loop return b #global a=unc("ランランルーらんらんるー")



ゲストユーザー

リンク

2017/9/18(Mon) 12:29:20|NO.81372

「ひらがな変換のみでは」と言うのはカタカナや記号のコードを除けば出来るという事でしょうか?
一先ず、先程にも記載しましたがNDKのバージョンを変えてみたらどうでしょうか。
http://hsp.tv/play/pforum.php?mode=pastwch&num=55950
こういった事例もある訳ですから。

さらに他の方が試して成功したという事ですから少なくともモジュール自体に
問題は無いとしか思えません。



しまくろねこ

リンク

2017/9/18(Mon) 13:25:12|NO.81373

if aa == "\\u30bd" : c = "ソ"

上記の行の "ソ" が原因みたいでNDKビルド失敗になっているようです。
原因はちょっとわかりませんでした。

下記はわかりやすいように "ソ" の行だけ残したスクリプトですが、元のスクリプトの "ソ" の行コメントアウトをNDKビルド成功になることが分かると思います。

#include "hsp3dish.as" #module #defcfunc unc str a lgh = strlen(a) ax = a aa = "" b = "" c = "" sk = 0 repeat 32 aa=strmid(ax, sk, 6) if strmid(aa, 0, 1) == "\\"{ c = "□" // 略 // if aa == "\\u30bd" : c = "ソ" // 略 // sk += 6 }else{ sk++ c = strmid(aa, 0, 1) } b = "" + b + c loop return b #global a = unc("ランランルーらんらんるー")



また、下記のように呼び出し先(a = unc("ランランルーらんらんるー"))をコメントアウトするとエラーにならないようです。

#include "hsp3dish.as" #module #defcfunc unc str a lgh = strlen(a) ax = a aa = "" b = "" c = "" sk = 0 repeat 32 aa=strmid(ax, sk, 6) if strmid(aa,0,1) == "\\"{ c = "□" // 略 // if aa == "\\u30bd" : c = "ソ" // 略 // sk += 6 }else{ sk++ c = strmid(aa, 0, 1) } b = "" + b + c loop return b #global // a = unc("ランランルーらんらんるー") ; ←コメントアウトするとNDKビルド失敗にならない

私がわかるのはとりあえずここまでのようです
申し訳ないです。



科学太郎

リンク

2017/9/18(Mon) 15:09:59|NO.81375

> 上記の行の "ソ" が原因みたいでNDKビルド失敗になっているようです。
> 原因はちょっとわかりませんでした。
良くある原因です。

SJIS=0x835C:ソ
SJIS=0x005C:\

原因は「\」記号です。

「\」記号はエスケープ文字ですよね。
漢字の第二文字が「\」記号の場合は、エスケープ文字として解釈してしまうのです。
これは漢字に対応してないからです。

つまり、「c="ソ"」は「c」「=」「"」「0x83」「\"」と解釈してます。
「\」記号のエスケープ文字で「\"」は「"」ですよね。

だからきっと「c="ソ\"」とすれば解決するかもしれないね。



jsAster

リンク

2017/9/18(Mon) 15:51:38|NO.81377

あざす!



科学太郎

リンク

2017/9/18(Mon) 21:19:19|NO.81383

jsAsterさん。

今までの質問で行くと自力で「UTF-16」をデコードするためのモジュールですね。
スクリプトの効率が気になったので書き直してみました。

#include "hsp3dish.as" #module #defcfunc unc str _s_,\ local inBuff,\ local outBuff,\ local outPos ;初期化 inBuff=(_s_) sdim outBuff,1024 ;変換 repeat strlen(inBuff) c=peek(inBuff,cnt) ;「\」以外 if(c!='\\'){ poke outBuff,outPos,c:outPos++ continue } ;「\u」以外 d=peek(inBuff,cnt+1) if(d!='u'){ poke outBuff,outPos,c:outPos++ poke outBuff,outPos,d:outPos++ continue(cnt+2) } ;「\u」の場合 k=int("$"+strmid(inBuff,2,4)) if($3041<=k)and(k<=$3093){ ;「ぁ」〜「ん」 k=(k-$3041+$829F) } else:if($30A1<=k)and(k<=$30F6){ ;「ァ」〜「ン」「ヴ」「ヵ」「ヶ」 k=(k-$30A1+$8340) } else{ repeat 1 if(k==$30FC):k=$815B:break ;「ー」文字 if(k==$3001):k=$8141:break ;「、」文字 if(k==$3002):k=$8142:break ;「。」文字 if(k==$FF01):k=$8149:break ;「!」文字 if(k==$FF1F):k=$8148:break ;「?」文字 if(k==$330C):k=$8175:break ;「「」文字 if(k==$330E):k=$8176:break ;「」」文字 if(k==$3010):k=$8179:break ;「【」文字 if(k==$3011):k=$817A:break ;「】」文字 k=$81A0 ;無効な文字 loop } ;出力 poke outBuff,outPos,((k>>8)& $FF):outPos++ ;Hi poke outBuff,outPos,((k>>0)& $FF):outPos++ ;Lo continue(cnt+6) loop poke outBuff,outPos,$00 ;NULL文字 return outBuff #global
こちらの方が比較回数が少ないので、多少の高速変換が可能です。
strmid関数よりもpeek関数の方が処理が速いので。



jsAster

リンク

2017/9/18(Mon) 23:06:06|NO.81387

ありがとうございます。



jsAster

リンク

2017/9/18(Mon) 23:11:21|NO.81388

ん?使い方をミスってるのか変になりました。



科学太郎

リンク

2017/9/18(Mon) 23:13:13|NO.81389

> ん?使い方をミスってるのか変になりました。
こちらのミスです。

k=int("$"+strmid(inBuff,2,4))


k=int("$"+strmid(inBuff,cnt+2,4))



jsAster

リンク

2017/9/18(Mon) 23:14:37|NO.81390

カタカナが文字化けします・・・。



jsAster

リンク

2017/9/18(Mon) 23:19:35|NO.81391

あと、漢字とかもできるんですか?



科学太郎

リンク

2017/9/19(Tue) 03:35:18|NO.81395

> カタカナが文字化けします・・・。
全部が文字化けしてますか?

> あと、漢字とかもできるんですか?
出来ますけど…数が多いのでどうしましょうか。

やはり自力で変換することになるでしょうが、
ちょっと Unicode 文字を確認してみます。

・Unicodeコードの一覧(0x3000-0x30FF)
http://blog.goo.ne.jp/masaki_goo_2006/e/afe013f5da91864c409dc83046d5c447

これ私のブログですけど。
漢字に当たる部分はどこでしょうね。



科学太郎

リンク

2017/9/19(Tue) 15:12:15|NO.81398

SJISコードとは、
第一文字が 0x81-0x9F、0xE0-0xFC で
第二文字が 0x40-0x7E、0x80-0xFC ですね。

繰り返し命令を使って全SJISコードを Unicode 文字に変換します。
そして、その文字コードをテキスト形式で出力します。

//------------------------------------------------------------------------------ // UTF-16文字列のデコード(3) by 科学太郎 //============================================================================== // @URL(https://msdn.microsoft.com/ja-jp/library/cc448053.aspx)→「MultiByteToWideChar」 // @URL(https://msdn.microsoft.com/ja-jp/library/cc448089.aspx)→「WideCharToMultiByte」 //------------------------------------------------------------------------------ #include "Kernel32.as" //-------------------------------------- // 記号定数(API定数) //-------------------------------------- #const global CP_ACP $00000000 //-------------------------------------- // メイン部 //-------------------------------------- *Main screen 0,640,480,SCREEN_NORMAL|SCREEN_FIXEDSIZE syscolor 15:boxf:color:title "UTF-16文字列のデコード(3) by 科学太郎" ;配置 sdim szBuff,1024*200 ;200KB mesbox szBuff,ginfo_winX,ginfo_winY,5,0 ;出力 SJisToUnicodeAll stop //-------------------------------------- // 全SJISコードのUnicode変換 //-------------------------------------- #deffunc SJisToUnicodeAll sdim strBuff,1024*100 ;100KB dim posBuff ;0x8140-0x9FFC repeat($9F-$81+1),$81:c=cnt repeat($FC-$40+1),$40:d=cnt if(d==$7F):continue poke strBuff,posBuff,c:posBuff++ poke strBuff,posBuff,d:posBuff++ loop loop ;0xE040-0xFCFC repeat($FC-$E0+1),$E0:c=cnt repeat($FC-$40+1),$40:d=cnt if(d==$7F):continue poke strBuff,posBuff,c:posBuff++ poke strBuff,posBuff,d:posBuff++ loop loop poke strBuff,posBuff,$00 ;SJIS⇒Unicode sdim szUnicode,posBuff+2 MultiByteToWideChar CP_ACP,0,varptr(strBuff),-1,varptr(szUnicode),posBuff+2 ;ダンプ作成 szBuff="" repeat(stat-1) c=peek(szUnicode,cnt*2+0) d=peek(szUnicode,cnt*2+1) szBuff+=strf("0x%02X%02X=",d,c) c=peek(strBuff,cnt*2+0) d=peek(strBuff,cnt*2+1) szBuff+=strf("%c%c\n",c,d) loop ;出力 objprm 0,szBuff return //------------------------------------------------------------------------------ // End of sample214c(UTF-16文字列のデコード).hsp //------------------------------------------------------------------------------
上記のスクリプトで出力されたテキストをソートしてみると
0x00A7〜0x0451、
0x2010〜0x9FA0、
0xE000〜0xFFE5
の3ブロックに文字コードがマップされてます。
││
\/
そこから必要なデータ・テーブル(配列)を考えると
0x0000〜0x04FF、
0x2000〜0x9FFF、
0xE000〜0xFFFF
の3ブロック分にSJISコードをマップすれば良さそうです。



科学太郎

リンク

2017/9/19(Tue) 15:12:32|NO.81399

前回の sample214c(UTF-16文字列のデコード).hsp を実行して
出力されてテキストを「sample214c(UTF-16文字列のデコード).txt」という名前で保存します。

//------------------------------------------------------------------------------ // UTF-16文字列のデコード(4) by 科学太郎 //============================================================================== // @URL(http://hsp.tv/play/pforum.php?mode=all&num=81343)→「HSP3Dish 「NDKのビルドに失敗しました」」 // @URL(http://hsp.tv/play/pforum.php?mode=all&num=81338)→「hsp3dishでUTF-16の変換」 //------------------------------------------------------------------------------ //-------------------------------------- // メイン部 //-------------------------------------- *Init dim UnicodeTable1,($04FF-$0000+1) ; 1280個×4バイト= 5Kバイト┐ dim UnicodeTable2,($9FFF-$2000+1) ;32768個×4バイト=128Kバイト├165Kバイト dim UnicodeTable3,($FFFF-$E000+1) ; 8192個×4バイト= 32Kバイト┘ *Main screen 0,640,480,SCREEN_NORMAL|SCREEN_FIXEDSIZE syscolor 15:boxf:color:title "UTF-16文字列のデコード(4) by 科学太郎" ;読み込む mes "Unicodeファイルを読み込み中..." LoadUnicodeFile "sample214c(UTF-16文字列のデコード).txt" if(stat<0):dialog "Unicodeファイルが見つかりません。",1,"確認":end syscolor 15:boxf:color ;表示 font MSGOTHIC,16:objsize(ginfo_winX-16*3-8),18,20 pos 0,2 mes "変換前" mes "変換後" ;配置 pos(16*3),1 sdim s1,1024:input s1,,,0 sdim s2,1024:input s2,,,0 ;ボタン objsize 64,24 button gosub "デコード", *PushButton stop //-------------------------------------- // デコード実行ボタン //-------------------------------------- *PushButton if(s1==""):dialog "変換前の入力ボックスにユニバーサル文字列を入力して下さい。",1,"確認":return s2=UnicodeToSJIS(s1) objprm 1,s2 return //-------------------------------------- // ユニバーサル文字列のデコード //-------------------------------------- #defcfunc UnicodeToSJIS str _s_,\ local inBuff,\ local outBuff,\ local outPos ;初期化 inBuff=(_s_) sdim outBuff,1024*1024 ;1MBまで対応 ;変換 repeat strlen(inBuff) c=peek(inBuff,cnt) ;「\」以外 if(c!='\\'){ poke outBuff,outPos,c:outPos++ continue } ;「\u」以外 d=peek(inBuff,cnt+1) if(d!='u'){ poke outBuff,outPos,c:outPos++ poke outBuff,outPos,d:outPos++ continue(cnt+2) } ;「\uXXXX」の場合 k=int("$"+strmid(inBuff,cnt+2,4)) repeat 1 if($0000<=k)and(k<=$04FF):k=UnicodeTable1(k-$0000):break if($2000<=k)and(k<=$9FFF):k=UnicodeTable2(k-$2000):break if($E000<=k)and(k<=$FFFF):k=UnicodeTable3(k-$E000):break ;無効文字 k=$0000 loop ;マップされてない文字 if(k==$0000):k=$8145 ;「・」文字に変換 ;出力 poke outBuff,outPos,((k>>8)& $FF):outPos++ poke outBuff,outPos,((k>>0)& $FF):outPos++ continue(cnt+6) loop poke outBuff,outPos,$00 ;NULL文字 return outBuff //-------------------------------------- // Unicodeファイルを読み込む //-------------------------------------- #deffunc LoadUnicodeFile str _fname_,\ local strBuff,\ local getLine exist(_fname_) if(strsize<0):return -1 ;読み込む notesel strBuff noteload(_fname_) repeat notemax noteget getLine,cnt k=int("$"+strmid(getLine,2,4)) c=peek(getLine,7) d=peek(getLine,8) if($0000<=k)and(k<=$04FF):UnicodeTable1(k-$0000)=(c<<8)|d:continue if($2000<=k)and(k<=$9FFF):UnicodeTable2(k-$2000)=(c<<8)|d:continue if($E000<=k)and(k<=$FFFF):UnicodeTable3(k-$E000)=(c<<8)|d:continue ;エラー文字 logmes getLine loop noteunsel return 0 //------------------------------------------------------------------------------ // End of sample214d(UTF-16文字列のデコード).hsp //------------------------------------------------------------------------------
上記のスクリプトを実行すると漢字対応の「UTF-16」⇒「SJIS」の変換が可能です。
ただし、変換用のデータ・テーブル(配列)に約165Kバイトも使ってます。
このメモリ量でもOKならば、HSPの標準命令だけで変換ができることになりますね。

また、上記のサンプルでは、テキスト・ファイルを読み込んでます。
読み込み時間が掛かり過ぎてますね。
とりあえず動作テストですので正しく動くのか検証してみて下さい。
││
\/
正しく変換できていれば
バイナリー・ファイルで同じことをするモジュールを作れば良いのです。



科学太郎

リンク

2017/9/19(Tue) 15:16:56|NO.81400

追記。

バイナリー・ファイル編は、ご自身で作成して下さいね。



jsAster

リンク

2017/9/19(Tue) 20:46:05|NO.81406

ありがとうございます。



ONION software Copyright 1997-2023(c) All rights reserved.