From nobody Tue Nov 05 21:43:01 2024 X-Original-To: pkg-fallout@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Xjhdx6fJ6z5bdsQ for ; Tue, 05 Nov 2024 21:43:01 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xjhdx53Xlz4fDv for ; Tue, 5 Nov 2024 21:43:01 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730842981; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=e/oIJxQcrsdby+A0tHT13CfvhA3G++qed2/LdMUc2i8=; b=fz44GtZDJpO2AjIKw/3r75hDODL5SY5XJRuK+K6WdQJHhf94663zM69kEB23Hxwc6kMq3q Mw+Tc89KASZhZ3NtcvCTyrW+tfNitYESvzWDrMc9JMPxzpusC0OeEFX4DPgp44+/pkjPAY yi/1LetJa+3LgSjVIGPZlDQ/EWJ7etE46Zz6RFEeksZw1A6sSCBbuMeNz20m/GnoarPLfF jAgb4EPmTbJ2bEl8tI4EBJPMYHJPCBa5yRiStQV4swzYqfBGcOrpj8Vxk3OCpqF/RGwxK5 FuNvnhs1oxYfuHnWFuLb9tzqb6taSbYUutJmx3mOAu11Y5pKMwbKlWDDidr6fg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730842981; a=rsa-sha256; cv=none; b=NFRnJf/A6sK9JMaTvalfuYtGhquRKotYpVntmNhalx3ZP/No7HggK5cFgZfGlTQ0d/ETpg Ow0fV5FNW4zLaoP1Px6hO6zfh3jQXPQwpASmgW4dAr+r8Zf2uAiikgF+yCbaXA7uYQcrd4 C2TaLIWvK0x0WFoexC/hP11TBE/EDnLuL0+0A/HqMj1+dQwykJxrPyggyTmMCU5b4jT/wH OkVAZt4QX6C3VMvpO2ziikx/CJ+uQuhdNsxY8EGmvS6hA85winQanxXmEKk7iyH2kj4uUz ZKemiJK7zpZI7I7YMdVwbD+JH9MwbATTsvMPcIbuhHMJ7hQuoVOv8SA25S7g0w== Received: from beefy17.nyi.freebsd.org (beefy17.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:20]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4Xjhdx4fn8zZrZ for ; Tue, 5 Nov 2024 21:43:01 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from root (uid 0) (envelope-from pkg-fallout@FreeBSD.org) id 1f92 by beefy17.nyi.freebsd.org (DragonFly Mail Agent v0.13+ on beefy17.nyi.freebsd.org); Tue, 05 Nov 2024 21:43:01 +0000 To: amdmi3@FreeBSD.org Subject: [package - main-i386-default][games/blackshadeselite] Failed for blackshadeselite-0.0.1_11 in build Cc: pkg-fallout@FreeBSD.org Date: Tue, 05 Nov 2024 21:43:01 +0000 Message-Id: <672a9165.1f92.2c045680@beefy17.nyi.freebsd.org> From: List-Id: Fallout logs from package building List-Archive: https://lists.freebsd.org/archives/freebsd-pkg-fallout List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg-fallout@FreeBSD.org You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: amdmi3@FreeBSD.org Log URL: https://pkg-status.freebsd.org/beefy17/data/main-i386-default/p56a5011a0f1d_s4026b17bac6/logs/blackshadeselite-0.0.1_11.log Build URL: https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p56a5011a0f1d_s4026b17bac6 Log: =>> Building games/blackshadeselite build started at Tue Nov 5 21:42:24 UTC 2024 port directory: /usr/ports/games/blackshadeselite package name: blackshadeselite-0.0.1_11 building for: FreeBSD main-i386-default-job-11 15.0-CURRENT FreeBSD 15.0-CURRENT 1500026 i386 maintained by: amdmi3@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1189 Sep 13 2022 /usr/ports/games/blackshadeselite/Makefile Ports top last git commit: 56a5011a0f1 Ports top unclean checkout: no Port dir last git commit: 83a2997e88f Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500023 Jail OSVERSION: 1500026 Job Id: 11 !!! Jail is newer than host. (Jail: 1500026, Host: 1500023) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/sh BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 OSVERSION=1500026 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 UNAME_m=i386 UNAME_p=i386 UNAME_r=15.0-CURRENT LOCALBASE=/usr/local UNAME_v=FreeBSD 15.0-CURRENT 1500026 USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/main-i386-default/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/main-i386-default/11/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=main-i386-default SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for blackshadeselite-0.0.1_11: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- amdmi3@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/blackshadeselite/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/blackshadeselite/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/blackshadeselite/work/.cache HOME=/wrkdirs/usr/ports/games/blackshadeselite/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/blackshadeselite/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/blackshadeselite/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/blackshadeselite/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/blackshadeselite/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/blackshadeselite/work/.cache HOME=/wrkdirs/usr/ports/games/blackshadeselite/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/blackshadeselite/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/blackshadeselite/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong -Wl,-znotext" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++98 " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTAL L_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/blackshadeselite" EXAMPLESDIR="share/examples/blackshadeselite" DATADIR="share/blackshadeselite" WWWDIR="www/blackshadeselite" ETCDIR="etc/blackshadeselite" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/blackshadeselite DOCSDIR=/usr/local/share/doc/blackshadeselite EXAMPLESDIR=/usr/local/share/examples/blackshadeselite WWWDIR=/usr/local/www/blackshadeselite ETCDIR=/usr/local/etc/blackshadeselite --End SUB_LIST-- ---Begin make.conf--- # XXX: We really need this but cannot use it while 'make checksum' does not # try the next mirror on checksum failure. It currently retries the same # failed mirror and then fails rather then trying another. It *does* # try the next if the size is mismatched though. #MASTER_SITE_FREEBSD=yes # Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs MAKE_JOBS_NUMBER=3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes MACHINE=i386 MACHINE_ARCH=i386 ARCH=${MACHINE_ARCH} #### #### # XXX: We really need this but cannot use it while 'make checksum' does not # try the next mirror on checksum failure. It currently retries the same # failed mirror and then fails rather then trying another. It *does* # try the next if the size is mismatched though. #MASTER_SITE_FREEBSD=yes # Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs MAKE_JOBS_NUMBER=3 #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- ulimit: can't get limit: Invalid argument cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 524288 stack size (kbytes, -s) 65536 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License GPLv2+ accepted by the user =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> blackshadeselite-0.0.1_11 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.21.3.pkg [main-i386-default-job-11] Installing pkg-1.21.3... [main-i386-default-job-11] Extracting pkg-1.21.3: .......... done ===> blackshadeselite-0.0.1_11 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of blackshadeselite-0.0.1_11 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by blackshadeselite-0.0.1_11 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by blackshadeselite-0.0.1_11 for building => SHA256 Checksum OK for blackshadeselite-0.0.1.tar.bz2. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by blackshadeselite-0.0.1_11 for building ===> Extracting for blackshadeselite-0.0.1_11 => SHA256 Checksum OK for blackshadeselite-0.0.1.tar.bz2. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for blackshadeselite-0.0.1_11 ===> Applying FreeBSD patches for blackshadeselite-0.0.1_11 from /usr/ports/games/blackshadeselite/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 Source/GameTick.cpp:1550:24: note: add parentheses around left hand side expression to silence this warning 1550 | if(!hitstruct.joint1->modelnum == headmodel) { | ^ | ( ) Source/GameTick.cpp:1629:24: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] 1629 | if(!hitstruct.joint1->modelnum == headmodel) { | ^ ~~ Source/GameTick.cpp:1629:24: note: add parentheses after the '!' to evaluate the comparison first 1629 | if(!hitstruct.joint1->modelnum == headmodel) { | ^ | ( ) Source/GameTick.cpp:1629:24: note: add parentheses around left hand side expression to silence this warning 1629 | if(!hitstruct.joint1->modelnum == headmodel) { | ^ | ( ) Source/GameTick.cpp:1755:22: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] 1755 | if(!dot_ta <= 0 && !dot_tb <= 0) { | ^ ~~ Source/GameTick.cpp:1755:22: note: add parentheses after the '!' to evaluate the comparison first 1755 | if(!dot_ta <= 0 && !dot_tb <= 0) { | ^ | ( ) Source/GameTick.cpp:1755:22: note: add parentheses around left hand side expression to silence this warning 1755 | if(!dot_ta <= 0 && !dot_tb <= 0) { | ^ | ( ) Source/GameTick.cpp:1755:38: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] 1755 | if(!dot_ta <= 0 && !dot_tb <= 0) { | ^ ~~ Source/GameTick.cpp:1755:38: note: add parentheses after the '!' to evaluate the comparison first 1755 | if(!dot_ta <= 0 && !dot_tb <= 0) { | ^ | ( ) Source/GameTick.cpp:1755:38: note: add parentheses around left hand side expression to silence this warning 1755 | if(!dot_ta <= 0 && !dot_tb <= 0) { | ^ | ( ) Source/GameTick.cpp:1769:40: warning: result of comparison of constant 2 with expression of type 'bool' is always false [-Wtautological-constant-out-of-range-compare] 1769 | && (thirdperson == 2 || j != 0)) { | ~~~~~~~~~~~ ^ ~ Source/GameTick.cpp:2825:35: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 2825 | if((closesttarget == person[i].pathnum)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ Source/GameTick.cpp:2825:35: note: remove extraneous parentheses around the comparison to silence this warning 2825 | if((closesttarget == person[i].pathnum)) { | ~ ^ ~ Source/GameTick.cpp:2825:35: note: use '=' to turn this equality comparison into an assignment 2825 | if((closesttarget == person[i].pathnum)) { | ^~ | = 6 warnings generated. c++ -c -o objs/Globals.o Source/Globals.cpp -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wall `/usr/local/bin/sdl-config --cflags` -I./Source -I./Source/Net -include Source/Support.h c++ -c -o objs/Image.o Source/Image.cpp -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wall `/usr/local/bin/sdl-config --cflags` -I./Source -I./Source/Net -include Source/Support.h c++ -c -o objs/Label.o Source/Label.cpp -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wall `/usr/local/bin/sdl-config --cflags` -I./Source -I./Source/Net -include Source/Support.h c++ -c -o objs/MacInput.o Source/MacInput.cpp -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wall `/usr/local/bin/sdl-config --cflags` -I./Source -I./Source/Net -include Source/Support.h c++ -c -o objs/Main.o Source/Main.cpp -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wall `/usr/local/bin/sdl-config --cflags` -I./Source -I./Source/Net -include Source/Support.h c++ -c -o objs/Maths.o Source/Maths.cpp -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wall `/usr/local/bin/sdl-config --cflags` -I./Source -I./Source/Net -include Source/Support.h c++ -c -o objs/Models.o Source/Models.cpp -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wall `/usr/local/bin/sdl-config --cflags` -I./Source -I./Source/Net -include Source/Support.h Source/Models.cpp:103:8: warning: variable 'err' set but not used [-Wunused-but-set-variable] 103 | long err; | ^ 1 warning generated. c++ -c -o objs/Person.o Source/Person.cpp -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wall `/usr/local/bin/sdl-config --cflags` -I./Source -I./Source/Net -include Source/Support.h c++ -c -o objs/Quaternions.o Source/Quaternions.cpp -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wall `/usr/local/bin/sdl-config --cflags` -I./Source -I./Source/Net -include Source/Support.h Source/Quaternions.cpp:371:3: error: reference to 'max' is ambiguous 371 | max = MAX(MAX(ABS(normalv[0]), ABS(normalv[1])), ABS(normalv[2])); | ^ Source/Quaternions.cpp:333:14: note: candidate found by name lookup is 'max' 333 | extern float max; | ^ /usr/include/c++/v1/__algorithm/max.h:35:1: note: candidate found by name lookup is 'std::max' 35 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b) { | ^ /usr/include/c++/v1/__algorithm/max.h:29:1: note: candidate found by name lookup is 'std::max' 29 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b, _Compare __comp) { | ^ Source/Quaternions.cpp:373:6: error: reference to 'max' is ambiguous 373 | if(max == ABS(normalv[0])) { | ^ Source/Quaternions.cpp:333:14: note: candidate found by name lookup is 'max' 333 | extern float max; | ^ /usr/include/c++/v1/__algorithm/max.h:35:1: note: candidate found by name lookup is 'std::max' 35 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b) { | ^ /usr/include/c++/v1/__algorithm/max.h:29:1: note: candidate found by name lookup is 'std::max' 29 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b, _Compare __comp) { | ^ Source/Quaternions.cpp:373:6: error: unknown type name 'max' 373 | if(max == ABS(normalv[0])) { | ^ Source/Quaternions.cpp:373:10: error: expected unqualified-id 373 | if(max == ABS(normalv[0])) { | ^ Source/Quaternions.cpp:377:6: error: reference to 'max' is ambiguous 377 | if(max == ABS(normalv[1])) { | ^ Source/Quaternions.cpp:333:14: note: candidate found by name lookup is 'max' 333 | extern float max; | ^ /usr/include/c++/v1/__algorithm/max.h:35:1: note: candidate found by name lookup is 'std::max' 35 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b) { | ^ /usr/include/c++/v1/__algorithm/max.h:29:1: note: candidate found by name lookup is 'std::max' 29 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b, _Compare __comp) { | ^ Source/Quaternions.cpp:377:6: error: unknown type name 'max' 377 | if(max == ABS(normalv[1])) { | ^ Source/Quaternions.cpp:377:10: error: expected unqualified-id 377 | if(max == ABS(normalv[1])) { | ^ Source/Quaternions.cpp:381:6: error: reference to 'max' is ambiguous 381 | if(max == ABS(normalv[2])) { | ^ Source/Quaternions.cpp:333:14: note: candidate found by name lookup is 'max' 333 | extern float max; | ^ /usr/include/c++/v1/__algorithm/max.h:35:1: note: candidate found by name lookup is 'std::max' 35 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b) { | ^ /usr/include/c++/v1/__algorithm/max.h:29:1: note: candidate found by name lookup is 'std::max' 29 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b, _Compare __comp) { | ^ Source/Quaternions.cpp:381:6: error: unknown type name 'max' 381 | if(max == ABS(normalv[2])) { | ^ Source/Quaternions.cpp:381:10: error: expected unqualified-id 381 | if(max == ABS(normalv[2])) { | ^ Source/Quaternions.cpp:474:3: error: reference to 'max' is ambiguous 474 | max = MAX(MAX(ABS(normalv[0]), ABS(normalv[1])), ABS(normalv[2])); | ^ Source/Quaternions.cpp:333:14: note: candidate found by name lookup is 'max' 333 | extern float max; | ^ /usr/include/c++/v1/__algorithm/max.h:35:1: note: candidate found by name lookup is 'std::max' 35 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b) { | ^ /usr/include/c++/v1/__algorithm/max.h:29:1: note: candidate found by name lookup is 'std::max' 29 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b, _Compare __comp) { | ^ Source/Quaternions.cpp:476:6: error: reference to 'max' is ambiguous 476 | if(max == ABS(normalv[0])) { | ^ Source/Quaternions.cpp:333:14: note: candidate found by name lookup is 'max' 333 | extern float max; | ^ /usr/include/c++/v1/__algorithm/max.h:35:1: note: candidate found by name lookup is 'std::max' 35 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b) { | ^ /usr/include/c++/v1/__algorithm/max.h:29:1: note: candidate found by name lookup is 'std::max' 29 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b, _Compare __comp) { | ^ Source/Quaternions.cpp:476:6: error: unknown type name 'max' 476 | if(max == ABS(normalv[0])) { | ^ Source/Quaternions.cpp:476:10: error: expected unqualified-id 476 | if(max == ABS(normalv[0])) { | ^ Source/Quaternions.cpp:480:6: error: reference to 'max' is ambiguous 480 | if(max == ABS(normalv[1])) { | ^ Source/Quaternions.cpp:333:14: note: candidate found by name lookup is 'max' 333 | extern float max; | ^ /usr/include/c++/v1/__algorithm/max.h:35:1: note: candidate found by name lookup is 'std::max' 35 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b) { | ^ /usr/include/c++/v1/__algorithm/max.h:29:1: note: candidate found by name lookup is 'std::max' 29 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b, _Compare __comp) { | ^ Source/Quaternions.cpp:480:6: error: unknown type name 'max' 480 | if(max == ABS(normalv[1])) { | ^ Source/Quaternions.cpp:480:10: error: expected unqualified-id 480 | if(max == ABS(normalv[1])) { | ^ Source/Quaternions.cpp:484:6: error: reference to 'max' is ambiguous 484 | if(max == ABS(normalv[2])) { | ^ Source/Quaternions.cpp:333:14: note: candidate found by name lookup is 'max' 333 | extern float max; | ^ /usr/include/c++/v1/__algorithm/max.h:35:1: note: candidate found by name lookup is 'std::max' 35 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b) { | ^ /usr/include/c++/v1/__algorithm/max.h:29:1: note: candidate found by name lookup is 'std::max' 29 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b, _Compare __comp) { | ^ Source/Quaternions.cpp:484:6: error: unknown type name 'max' 484 | if(max == ABS(normalv[2])) { | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. gmake: *** [Makefile:71: objs/Quaternions.o] Error 1 *** Error code 1 Stop. make: stopped making "build" in /usr/ports/games/blackshadeselite