gmcnutt / haxima_game_makers_guide

4 stars 0 forks source link

Building nazghul-0.7.1 #1

Open clort81 opened 2 years ago

clort81 commented 2 years ago

Trying a build on aarch64 what g++ version do you use? I fail to build on g++-12 with a lot of errors. with g++-9 the output is more brief

Arms.cpp: In member function ‘virtual bool ArmsType::fireInDirection(place*, int, int, int, int, Object*)’:
Arms.cpp:247:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  247 |         if (fire_sound)
      |         ^~
Arms.cpp:250:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  250 |   int misx = dx * getRange() + ox;
      |   ^~~
character.cpp: In member function ‘void Character::setHp(int)’:
character.cpp:1955:12: warning: operation on ‘((Character*)this)->Character::<anonymous>.Being::<anonymous>.Object::hp’ may be undefined [-Wsequence-point]
 1955 |         hp = clamp(hp, 0, getMaxHp());
character.cpp: In member function ‘int Character::getDefend()’:
character.cpp:2091:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
 2091 |         if (isAsleep())
      |         ^~
character.cpp:2094:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
 2094 |   int armsIndex=0;
      |   ^~~
cmdwin.c: In function ‘void cmdwin_push_mark()’:
cmdwin.c:224:43: error: cannot convert ‘int’ to ‘va_list’ {aka ‘__va_list’}
  224 |         cmdwin_vpush(CMDWIN_FRAG_MARK, 0, 0);
      |                                           ^
      |                                           |
      |                                           int
cmdwin.c:174:62: note:   initializing argument 3 of ‘void cmdwin_vpush(int, const char*, va_list)’
  174 | static void cmdwin_vpush(int flags, const char *fmt, va_list args)
      |                                                      ~~~~~~~~^~~~
make[2]: *** [Makefile:557: cmdwin.o] Error 1
make[1]: *** [Makefile:284: all-recursive] Error 1
make: *** [Makefile:222: all] Error 2
clort81 commented 2 years ago

I'm mostly into textart. here's a sample using unicode braille characters and others.      ▁   ⠶    ⢴⣆                                                                 ⢀⣒⡀ ⡠▀⢄ ▞ ▚ ⢀⡰⠖⢢⡀                                                                ⢡▀⡌ ⢀┃⡀ ⣰⠉⣆  ⣰ ▙   text_rpg_art

gmcnutt commented 2 years ago

Are you talking about the last release or the latest on git? The last time I built the release was about six months ago, on windows, so whatever revision was current then. I can't find it now! I love that old style text-sized icons. That's a pretty neat set of sprites you got there.

On Sun, Jul 3, 2022 at 4:14 PM clort81 @.***> wrote:

I'm mostly into textart. here's a sample using unicode braille characters and others.

 ▁   ⠶    ⢴⣆

⢀⣒⡀ ⡠▀⢄ ▞ ▚ ⢀⡰⠖⢢⡀ ⢡▀⡌ ⢀┃⡀ ⣰⠉⣆ ⣰ ▙ [image: text_rpg_art] https://user-images.githubusercontent.com/51511737/177058878-72905bbc-c1d4-4ea9-b530-97379dc358c9.png

— Reply to this email directly, view it on GitHub https://github.com/gmcnutt/haxima_game_makers_guide/issues/1#issuecomment-1173180975, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIL42O4TZKI6NJDXJQC2YDVSIGDNANCNFSM52RK2Q2A . You are receiving this because you are subscribed to this thread.Message ID: @.***>