Author Topic: Compiling on linux error : [astyle regressions] [SOLVED]  (Read 307 times)

Offline Heema

  • Zombie Food
  • *
  • Posts: 17
    • View Profile
Compiling on linux error : [astyle regressions] [SOLVED]
« on: March 06, 2017, 08:27:30 AM »
uname: Linux Arch-lin 4.9.11-1-ARCH #1 SMP PREEMPT Sun Feb 19 13:45:52 UTC 2017 x86_64 GNU/Linux

when ever i compile using :

Quote
make CLANG=1 CCACHE=1 RELEASE=1 TILES=1 SOUND=1 LUA=1 USE_HOME_DIR=1

i get the error:

Code: [Select]
#define VERSION "832a687"
cd src/lua && lua generate_bindings.lua
astyle regressions found.
Formatted  src/action.cpp Formatted  src/editmap.cpp Formatted  src/fault.cpp Formatted  src/morale.cpp Formatted  src/profession.cpp Formatted  src/addiction.h Formatted  src/bonuses.h Formatted  src/cata_tiles.h Formatted  src/damage.h Formatted  src/editmap.h Formatted  src/profession.h Formatted  src/requirements.h
« Last Edit: March 06, 2017, 02:15:53 PM by Heema »

Offline Coolthulhu

  • Contributor
  • Survivor
  • ****
  • Posts: 3839
    • View Profile
Re: Compiling on linux error : [astyle regressions]
« Reply #1 on: March 06, 2017, 10:20:34 AM »
Probably different astyle versions. You might need to grab an older one - 2.05.1 works, for example.

Try to call `make` with `-k` or `--keep-going` - I think I recall it doing the astyle but then compiling things anyway.

Offline Heema

  • Zombie Food
  • *
  • Posts: 17
    • View Profile
Re: Compiling on linux error : [astyle regressions]
« Reply #2 on: March 06, 2017, 11:09:56 AM »
yeah i have astyle version 2.06-1 installed

Thanks the `-k` argument worked as a temp solution till they update astyle