Page 1 of 1

Gmake 3.82 issue with unreal 6.0.0

Posted: Mon Dec 20, 2021 1:02 am
by preacher
I am having an issue with Gmake and unreal 6 (it works fine with 5.2.2)

When I try and compile I get this error:

Code: Select all

send.c: In function 'vsendto_one':
send.c:218: error: #pragma GCC diagnostic not allowed inside functions
send.c:219: error: #pragma GCC diagnostic not allowed inside functions
send.c:223: error: #pragma GCC diagnostic not allowed inside functions
send.c: In function 'vmakebuf_local_withprefix':
send.c:850: error: #pragma GCC diagnostic not allowed inside functions
send.c:851: error: #pragma GCC diagnostic not allowed inside functions
send.c:855: error: #pragma GCC diagnostic not allowed inside functions
send.c: In function 'buildnumericfmt':
send.c:1069: error: #pragma GCC diagnostic not allowed inside functions
send.c:1070: error: #pragma GCC diagnostic not allowed inside functions
send.c:1074: error: #pragma GCC diagnostic not allowed inside functions
send.c: In function 'add_nvplist_numeric_fmt':
send.c:1089: error: #pragma GCC diagnostic not allowed inside functions
send.c:1090: error: #pragma GCC diagnostic not allowed inside functions
send.c:1094: error: #pragma GCC diagnostic not allowed inside functions
gmake[2]: *** [send.o] Error 1
thoughts?

help!!!

shalom

Preacher 8)

Re: Gmake 3.82 issue with unreal 6.0.0

Posted: Wed Dec 22, 2021 4:42 pm
by Syzop
What compiler is this? gcc? clang? And which version of the compiler?

Re: Gmake 3.82 issue with unreal 6.0.0

Posted: Mon Jan 03, 2022 10:16 pm
by preacher
Happy new year (by the way)

Sorry was away for Christmas and without net!!!

gcc (GCC) 4.2.1 20070719 [FreeBSD]
GNU Make 3.82
Built for amd64-portbld-freebsd7.3

shalom

Preacher