The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Andarix on December 22, 2021, 11:52:25 AM

Title: r10312 - nettool not compile
Post by: Andarix on December 22, 2021, 11:52:25 AM
all OS nettool not compile

linux

Quote2021-12-22T08:14:01.0825120Z ===> CXX ../network/network.cc
2021-12-22T08:14:01.3161568Z ../network/network.cc: In function 'bool network_receive_data(SOCKET, void*, uint16, uint16&, int)':
2021-12-22T08:14:01.3163653Z ../network/network.cc:759:59: error: 'env_t' has not been declared
2021-12-22T08:14:01.3165351Z     void (log_t::*outfn)(const char*, const char*, ...) = (env_t::network_heavy_mode == 2 ? &log_t::fatal : &log_t::warning);
2021-12-22T08:14:01.3166297Z                                                            ^~~~~
2021-12-22T08:14:01.3562961Z make: *** [../build/default/network/network-nettool.o] Error 1
2021-12-22T08:14:01.3563918Z ../uncommon.mk:53: recipe for target '../build/default/network/network-nettool.o' failed
2021-12-22T08:14:01.3580872Z ##[error]Process completed with exit code 2.
Title: Re: r10312 - nettool not compile
Post by: Dwachs on December 22, 2021, 02:49:55 PM
fixed in r10313. thanks for reporting
Title: Re: r10312 - nettool not compile
Post by: Andarix on December 22, 2021, 07:38:05 PM
r10314 compile

thanks