Page MenuHomeWildfire Games

[SM60] Build system changes
Needs ReviewPublic

Authored by wraitii on Wed, Nov 18, 9:04 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Trac Tickets
#5859
Summary

Windows user -> please test https://github.com/wraitii/0ad/tree/sm60

Test Plan

Compile on all platforms.

Event Timeline

wraitii created this revision.Wed, Nov 18, 9:04 PM

Build failure - The Moirai have given mortals hearts that can endure.

Link to build: https://jenkins.wildfiregames.com/job/vs2015-differential/3084/display/redirect

wraitii edited the summary of this revision. (Show Details)Thu, Nov 19, 6:02 PM
wraitii updated this revision to Diff 14078.Thu, Nov 19, 6:27 PM

This should largely clean up the build script, making it work for windows too.

Owners added a subscriber: Restricted Owners Package.Thu, Nov 19, 6:27 PM
wraitii added inline comments.Thu, Nov 19, 6:34 PM
libraries/source/spidermonkey/build.sh
168

lines, p_q, French got in the way

Build failure - The Moirai have given mortals hearts that can endure.

Link to build: https://jenkins.wildfiregames.com/job/docker-differential/3677/display/redirect

Build failure - The Moirai have given mortals hearts that can endure.

Link to build: https://jenkins.wildfiregames.com/job/macos-differential/2022/display/redirect

Build failure - The Moirai have given mortals hearts that can endure.

Link to build: https://jenkins.wildfiregames.com/job/vs2015-differential/3124/display/redirect

wraitii requested review of this revision.Thu, Nov 19, 7:16 PM
wraitii updated this revision to Diff 14090.Thu, Nov 19, 8:46 PM

This ought to make linux and macos compile. I'm trying with C++11, we'll see.

Build failure - The Moirai have given mortals hearts that can endure.

Link to build: https://jenkins.wildfiregames.com/job/vs2015-differential/3135/display/redirect

Build failure - The Moirai have given mortals hearts that can endure.

builderr-debug-gcc6.txt
../../../source/simulation2/serialization/BinarySerializer.cpp: In member function 'void CBinarySerializerScriptImpl::HandleScriptVal(JS::HandleValue)':
../../../source/simulation2/serialization/BinarySerializer.cpp:71:7: error: 'JSTYPE_VOID' was not declared in this scope
  case JSTYPE_VOID:
       ^~~~~~~~~~~
In file included from ../../../source/scriptinterface/ScriptInterface.h:486:0,
                 from ../../../source/simulation2/system/ComponentManager.h:22,
                 from ../../../source/simulation2/system/Component.h:23,
                 from ../../../source/pch/simulation2/precompiled.h:29:
../../../source/scriptinterface/NativeWrapperDefns.h: In member function 'bool ScriptInterface::CallFunction(JS::HandleValue, const char*, JS::Rooted<T>*, const Ts& ...) const [with R = JS::Value; Ts = {}]':
../../../source/scriptinterface/NativeWrapperDefns.h:196:2: warning: ignoring return value of 'bool js::MutableWrappedPtrOperations<JS::GCVector<T, Capacity, AllocPolicy>, Wrapper>::resize(size_t) [with Wrapper = JS::Rooted<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy> >; T = JS::Value; long unsigned int Capacity = 8ul; AllocPolicy = js::TempAllocPolicy]', declared with attribute warn_unused_result [-Wunused-result]
  (void)argv.resize(sizeof...(Ts));
  ^
make[1]: *** [obj/simulation2_Debug/BinarySerializer.o] Error 1
make: *** [simulation2] Error 2

Link to build: https://jenkins.wildfiregames.com/job/docker-differential/3688/display/redirect

Build failure - The Moirai have given mortals hearts that can endure.

builderr-debug-macos.txt
In file included from ../../../source/network/NetFileTransfer.cpp:23:
In file included from In file included from ../../../source/network/NetClientTurnManager.cpp:20In file included from In file included from :
../../../source/network/NetClient.cppIn file included from :20../../../source/network/NetClientTurnManager.h../../../source/network/NetHost.cpp../../../source/network/NetMessage.h::
:21:23:
:
In file included from ../../../source/network/NetMessage.h26In file included from :
In file included from ../../../source/network/NetClient.h../../../source/simulation2/system/TurnManager.h::In file included from :26:
In file included from 22../../../source/network/NetMessages.h:../../../source/network/NetMessages.h:
:2427:
In file included from 27:
In file included from ../../../source/simulation2/helpers/SimulationCommand.h:In file included from ../../../source/scriptinterface/ScriptInterface.h21../../../source/scriptinterface/ScriptTypes.h::
:25In file included from 63:
../../../source/scriptinterface/ScriptInterface.hIn file included from :
::
In file included from In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h../../../source/scriptinterface/ScriptTypes.h../../../source/scriptinterface/ScriptTypes.h::6325::
:
In file included from In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:../../../source/scriptinterface/ScriptTypes.h:63:
63:
1515In file included from :
../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:
In file included from :../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h15In file included from :In file included from :
../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.hIn file included from ::../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h1512:
12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h::
:12In file included from 166:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h5::12 ::
:
error../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h: :166statement not allowed in constexpr constructor166:166:
:55:5: ::  errorerror: error: statement not allowed in constexpr constructor: 
statement not allowed in constexpr constructorstatement not allowed in constexpr constructor

    MOZ_RELEASE_ASSERT(span == nullptr ||
    ^
    MOZ_RELEASE_ASSERT(span == nullptr ||
    ^
    MOZ_RELEASE_ASSERT(span == nullptr ||    MOZ_RELEASE_ASSERT(span == nullptr ||
    ^

    ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:7: note../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h: :expanded from macro 'MOZ_RELEASE_ASSERT':7459
::7::459:7       MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \ note
::       ^ 
expanded from macro 'MOZ_RELEASE_ASSERT'note: 
expanded from macro 'MOZ_RELEASE_ASSERT'
note../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:39:      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
:  expanded from macro 'MOZ_RELEASE_ASSERT'
note:       ^
expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'      ^


../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
:72:      ^../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h39
: :../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.hnote72:39:  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \72::
                                      ^
:  expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
note: 39: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'note
:   MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
                                      ^


  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
In file included from ../../../source/network/NetClientTurnManager.cpp:20:
In file included from ../../../source/network/NetClientTurnManager.h:21:
In file included from In file included from ../../../source/network/NetFileTransfer.cppIn file included from ../../../source/network/NetClient.cpp:20:
In file included from ../../../source/network/NetClient.h:../../../source/simulation2/system/TurnManager.h:2223:
:
In file included from In file included from ../../../source/simulation2/helpers/SimulationCommand.h:../../../source/network/NetMessage.h:21:
:In file included from In file included from ../../../source/network/NetHost.cpp2426:
In file included from :
:In file included from 23../../../source/scriptinterface/ScriptInterface.h../../../source/scriptinterface/ScriptInterface.h:../../../source/network/NetMessages.h::
:25:
25In file included from ../../../source/network/NetMessage.h:
27::
In file included from In file included from ../../../source/scriptinterface/ScriptTypes.hIn file included from ../../../source/scriptinterface/ScriptTypes.h26:../../../source/scriptinterface/ScriptTypes.h:63:
:
:In file included from 63../../../source/network/NetMessages.h63:
:27:
In file included from :
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15../../../libraries/source/spidermonkey/include-unix-debug/jsapi.hIn file included from 15:
:15:
In file included from :
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.hIn file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h12:
:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h../../../source/scriptinterface/ScriptTypes.h12:
:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h178::178:12::
5../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:63::
178In file included from 5../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:: 5::: 15errorerror: :
statement not allowed in constexpr function
In file included from :     MOZ_RELEASE_ASSERT(span_);
    ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.hstatement not allowed in constexpr function
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h: error459:    MOZ_RELEASE_ASSERT(span_);: :12statement not allowed in constexpr function
7:
:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h    ^:
178 
note    MOZ_RELEASE_ASSERT(span_);: ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h
    ^:expanded from macro 'MOZ_RELEASE_ASSERT':5459

: error../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h::       MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \statement not allowed in constexpr function:
7
:    MOZ_RELEASE_ASSERT(span_);459       ^:
7    ^note:
 : 
noteexpanded from macro 'MOZ_RELEASE_ASSERT'../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h
:: expanded from macro 'MOZ_RELEASE_ASSERT'
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h459:      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \7:: 
note72:      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \      ^: 
39:expanded from macro 'MOZ_RELEASE_ASSERT'
      ^

 ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:note72:       MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h      ^expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT':72

:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h39::72 :  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \:note
39:                                       ^note: : 39expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT':
expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT' 

note: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^

                                      ^
In file included from ../../../source/network/NetFileTransfer.cpp:23:
In file included from ../../../source/network/NetMessage.h:26:
In file included from ../../../source/network/NetMessages.h:27:
In file included from In file included from ../../../source/scriptinterface/ScriptTypes.h:63In file included from ../../../source/network/NetHost.cpp:
../../../source/network/NetClient.cppIn file included from In file included from :../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h23:::
15:
../../../source/network/NetClientTurnManager.cppIn file included from ../../../source/network/NetMessage.h:2026:
::
In file included from In file included from ../../../source/network/NetClient.h../../../source/network/NetMessages.hIn file included from :../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:2720:
:
:2412In file included from In file included from :
../../../source/scriptinterface/ScriptTypes.h::
../../../source/network/NetClientTurnManager.h63:
:In file included from ../../../source/scriptinterface/ScriptInterface.hIn file included from :2125../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:
../../../libraries/source/spidermonkey/include-unix-debug/jsapi.hIn file included from ../../../source/simulation2/system/TurnManager.h:
:::15:
18322:5: :
In file included from In file included from ../../../source/simulation2/helpers/SimulationCommand.hIn file included from error../../../source/scriptinterface/ScriptTypes.h:: :21statement not allowed in constexpr function
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:63    MOZ_RELEASE_ASSERT(span_);:
12
In file included from :
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:183    ^:
../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:
In file included from 5../../../source/scriptinterface/ScriptInterface.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:::15459::257::
 In file included from :
 errorIn file included from note../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h: : :statement not allowed in constexpr function
12expanded from macro 'MOZ_RELEASE_ASSERT':
    MOZ_RELEASE_ASSERT(span_);
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h../../../source/scriptinterface/ScriptTypes.h:
183:5:63:
    ^In file included from :
       MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h
:15:
In file included from       ^
error../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h: :459../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.hstatement not allowed in constexpr function:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h::
772:12:39    MOZ_RELEASE_ASSERT(span_); note:
:
    ^: expanded from macro 'MOZ_RELEASE_ASSERT'
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h
: note:       MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \183../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:
:5      ^:459
:expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h7
:  errornote: :   MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \statement not allowed in constexpr functionexpanded from macro 'MOZ_RELEASE_ASSERT':


                                      ^    MOZ_RELEASE_ASSERT(span_);
72:    ^      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \


39      ^
:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h :72:note: 39:expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'459:
: note: 7: noteexpanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \

: expanded from macro 'MOZ_RELEASE_ASSERT'                                      ^
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
In file included from ../../../source/network/NetFileTransfer.cpp:23:
In file included from ../../../source/network/NetMessage.h:26:
In file included from ../../../source/network/NetMessages.h:27:
In file included from ../../../source/scriptinterface/ScriptTypes.h:63:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:188:5: In file included from ../../../source/network/NetHost.cpp:
error23:
In file included from : In file included from ../../../source/network/NetMessage.h:../../../source/network/NetClient.cpp:      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
26:
statement not allowed in constexpr function20:

In file included from In file included from       ^../../../source/network/NetClient.h../../../source/network/NetMessages.h::24    MOZ_RELEASE_ASSERT(span_ && index_ >= 0 && index_ < span_->Length());27:

In file included from 
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h    ^:
../../../source/scriptinterface/ScriptTypes.hIn file included from :../../../source/scriptinterface/ScriptInterface.h
:72:2563:
:
In file included from In file included from :39../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h../../../source/scriptinterface/ScriptTypes.h:63../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:
:: :In file included from 459:../../../libraries/source/spidermonkey/include-unix-debug/jsapi.hnote:1515:
In file included from 7:
: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \12:
:
:
                                       ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:188:note../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h: :5188:expanded from macro 'MOZ_RELEASE_ASSERT': 
error: 5: error:       MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
statement not allowed in constexpr function
statement not allowed in constexpr function      ^

../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:39: note    MOZ_RELEASE_ASSERT(span_ && index_ >= 0 && index_ < span_->Length());: 
    MOZ_RELEASE_ASSERT(span_ && index_ >= 0 && index_ < span_->Length());expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
    ^    ^

../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459
:7:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
In file included from                                       ^ 
note: expanded from macro 'MOZ_RELEASE_ASSERT'../../../source/network/NetClientTurnManager.cpp:
:20:
In file included from 7: note:       MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
../../../source/network/NetClientTurnManager.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h::expanded from macro 'MOZ_RELEASE_ASSERT'7221
:
In file included from ../../../source/simulation2/system/TurnManager.h:22:
In file included from ../../../source/simulation2/helpers/SimulationCommand.h:21:
In file included from ../../../source/scriptinterface/ScriptInterface.h      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
:25../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:39::39:  notenote:
: In file included from : ../../../source/scriptinterface/ScriptTypes.hexpanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
:
63:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
:
                                      ^In file included from In file included from 
../../../source/network/NetFileTransfer.cpp:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \23
                                      ^:
:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:
../../../source/network/NetMessage.h188::26:
In file included from ../../../source/network/NetMessages.h:27:
In file included from ../../../source/scriptinterface/ScriptTypes.h:63:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:200:5: error: statement not allowed in constexpr function
5: error: statement not allowed in constexpr function    MOZ_RELEASE_ASSERT(span_ && index_ > 0 && index_ <= span_->Length());In file included from 
../../../source/network/NetHost.cpp:23:
In file included from ../../../source/network/NetMessage.h:26
:
In file included from     MOZ_RELEASE_ASSERT(span_ && index_ >= 0 && index_ < span_->Length());
    ^
../../../source/network/NetMessages.h:    ^In file included from 
27../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:
In file included from :../../../source/network/NetClient.cpp459../../../source/scriptinterface/ScriptTypes.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h::2063::
:7In file included from 459::
../../../source/network/NetClient.hIn file included from :../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h::724: 15note : noteexpanded from macro 'MOZ_RELEASE_ASSERT':
: In file included from expanded from macro 'MOZ_RELEASE_ASSERT'

../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:
      ^      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \:
200      ^
In file included from 
:5../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h../../../source/scriptinterface/ScriptInterface.h::../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:7272::3939 :error:  :note:25: :
In file included from  expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'../../../source/scriptinterface/ScriptTypes.hstatement not allowed in constexpr function:note63:
In file included from 

../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15:
In file included from :     MOZ_RELEASE_ASSERT(span_ && index_ > 0 && index_ <= span_->Length());../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
    ^
12
                                      ^:
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:200
:                                      ^
:459:7: note: 5: error: statement not allowed in constexpr function
expanded from macro 'MOZ_RELEASE_ASSERT'
    MOZ_RELEASE_ASSERT(span_ && index_ > 0 && index_ <= span_->Length());
    ^
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:7: note: expanded from macro 'MOZ_RELEASE_ASSERT'
      ^
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h../../../source/network/NetClientTurnManager.cpp:20:
In file included from :72:39:       MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
note      ^
: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
../../../source/network/NetClientTurnManager.h:21:
In file included from In file included from   MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \../../../source/simulation2/system/TurnManager.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:
:22                                      ^
:
In file included from 72../../../source/simulation2/helpers/SimulationCommand.h:39../../../source/network/NetFileTransfer.cpp:::21 :
note23In file included from : :
expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
../../../source/scriptinterface/ScriptInterface.hIn file included from :25:
../../../source/network/NetMessage.h  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \:26In file included from :
../../../source/scriptinterface/ScriptTypes.h:In file included from ../../../source/network/NetMessages.h63
:
                                      ^
:In file included from 27:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:200:5: ../../../source/scriptinterface/ScriptTypes.hIn file included from error../../../source/network/NetHost.cpp:23:
In file included from ../../../source/network/NetMessage.h:: :6326statement not allowed in constexpr function:
In file included from :
In file included from ../../../source/network/NetMessages.h:27:
../../../libraries/source/spidermonkey/include-unix-debug/jsapi.hIn file included from :
15:
In file included from ../../../source/scriptinterface/ScriptTypes.h:63:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:    MOZ_RELEASE_ASSERT(span_ && index_ > 0 && index_ <= span_->Length());:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h
../../../source/network/NetClient.cpp    ^
:21815:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:::512459::7::  20:
error:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.hnote: :: statement not allowed in constexpr functionexpanded from macro 'MOZ_RELEASE_ASSERT'

218:5:     MOZ_RELEASE_ASSERT(span_ && (index_ + n) >= 0 &&
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
In file included from     ^      ^

error../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:459:: statement not allowed in constexpr function72../../../source/network/NetClient.h:
:39:724 : note: :
expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'In file included from     MOZ_RELEASE_ASSERT(span_ && (index_ + n) >= 0 &&../../../source/scriptinterface/ScriptInterface.h:
25note    ^: :
In file included from ../../../source/scriptinterface/ScriptTypes.h

:expanded from macro 'MOZ_RELEASE_ASSERT'
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \:459
      ^:637:
In file included from 
: ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:../../../libraries/source/spidermonkey/include-unix-debug/jsapi.hnote:: 7215:
In file included from expanded from macro 'MOZ_RELEASE_ASSERT':
39../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
:      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h 
:      ^note
218: ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
:72:39:  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
5 :note                                      ^ : expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'

error: In file included from statement not allowed in constexpr function
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \../../../source/network/NetClientTurnManager.cpp:20:
    MOZ_RELEASE_ASSERT(span_ && (index_ + n) >= 0 &&
In file included from 
../../../source/network/NetClientTurnManager.h    ^                                      ^:
21
:
In file included from ../../../source/simulation2/system/TurnManager.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:7::22:
In file included from ../../../source/simulation2/helpers/SimulationCommand.h:21:
In file included from  note: ../../../source/scriptinterface/ScriptInterface.h:25:
In file included from expanded from macro 'MOZ_RELEASE_ASSERT'In file included from ../../../source/network/NetFileTransfer.cpp
../../../source/scriptinterface/ScriptTypes.h:63:
In file included from :23:
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \../../../libraries/source/spidermonkey/include-unix-debug/jsapi.hIn file included from :
15:
../../../source/network/NetMessage.hIn file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:26:12      ^In file included from :
../../../source/network/NetHost.cpp
:23:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:
In file included from :../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:In file included from 218:5../../../source/network/NetMessages.h:27: :
../../../source/network/NetMessage.hIn file included from error:72: 26:../../../source/scriptinterface/ScriptTypes.h:39:
:63In file included from :
 ../../../source/network/NetMessages.hIn file included from note:27../../../libraries/source/spidermonkey/include-unix-debug/jsapi.hstatement not allowed in constexpr function: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
:
In file included from :../../../source/scriptinterface/ScriptTypes.h:  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
15:

In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
63    MOZ_RELEASE_ASSERT(span_ && (index_ + n) >= 0 &&
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:
    ^In file included from 
../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h::459237:
:In file included from 7../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h::: 12note:
5: expanded from macro 'MOZ_RELEASE_ASSERT':../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h 
error:237:5: error      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^In file included from 
: ../../../source/network/NetClient.cpp:20: statement not allowed in constexpr function:
statement not allowed in constexpr functionIn file included from 

../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:../../../source/network/NetClient.h:24:
    MOZ_RELEASE_ASSERT(span_ == rhs.span_);
72    ^
    MOZ_RELEASE_ASSERT(span_ == rhs.span_);:39../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.hIn file included from ../../../source/scriptinterface/ScriptInterface.h:459:25:

:In file included from     ^
7../../../source/scriptinterface/ScriptTypes.h:63:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h::: 45915note :7note: :expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
 note: : :
expanded from macro 'MOZ_RELEASE_ASSERT'In file included from   MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:
expanded from macro 'MOZ_RELEASE_ASSERT'

12:
                                      ^
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h
      ^
:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h237      ^
:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:39:5: note:72: :39 expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'error: 
: note: statement not allowed in constexpr function  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'

                                      ^

    MOZ_RELEASE_ASSERT(span_ == rhs.span_);
    ^
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:7: note: expanded from macro 'MOZ_RELEASE_ASSERT'
In file included from ../../../source/network/NetClientTurnManager.cpp:20:
In file included from ../../../source/network/NetClientTurnManager.h:21:
In file included from ../../../source/simulation2/system/TurnManager.h:22:
In file included from ../../../source/simulation2/helpers/SimulationCommand.h:21:
In file included from ../../../source/scriptinterface/ScriptInterface.h:25:
In file included from ../../../source/scriptinterface/ScriptTypes.h:63:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^In file included from 
../../../source/network/NetFileTransfer.cpp:In file included from ../../../source/network/NetHost.cpp:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h23:
:23In file included from :
:
72../../../source/network/NetMessage.hIn file included from :26:
In file included from :39../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.hIn file included from :../../../source/network/NetMessage.h12../../../source/network/NetMessages.h:
:: ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:27:23726:
:
In file included from In file included from note../../../source/scriptinterface/ScriptTypes.h../../../source/network/NetMessages.h: :::63:
In file included from 275:
expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
:../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h :15In file included from error../../../source/scriptinterface/ScriptTypes.h:
: In file included from :../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:statement not allowed in constexpr function63
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^12:

:
    MOZ_RELEASE_ASSERT(span_ == rhs.span_);../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h
    ^In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15::
257:
5: In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:7:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:error : note: statement not allowed in constexpr function
expanded from macro 'MOZ_RELEASE_ASSERT'
12:
    MOZ_RELEASE_ASSERT(lhs.span_ == rhs.span_);
    ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:257      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \:5
      ^:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:In file included from 
459:../../../source/network/NetClient.cpp7 ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.herror: :statement not allowed in constexpr function: :note: 7220
expanded from macro 'MOZ_RELEASE_ASSERT':
:
In file included from     MOZ_RELEASE_ASSERT(lhs.span_ == rhs.span_);../../../source/network/NetClient.h:39:
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \24:

    ^
In file included from       ^
 ../../../source/scriptinterface/ScriptInterface.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.hnote::25459:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:
:In file included from 72: ../../../source/scriptinterface/ScriptTypes.h7:63::
In file included from :../../../libraries/source/spidermonkey/include-unix-debug/jsapi.hexpanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'39
:: 15 :
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
noteIn file included from note: ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h                                      ^:
: 12expanded from macro 'MOZ_RELEASE_ASSERT':
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:257expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'

:5: error: statement not allowed in constexpr function      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \

  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
    MOZ_RELEASE_ASSERT(lhs.span_ == rhs.span_);
    ^      ^

../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:45939: note: :7: note: expanded from macro 'MOZ_RELEASE_ASSERT'
In file included from ../../../source/network/NetClientTurnManager.cpp:20:
In file included from ../../../source/network/NetClientTurnManager.h:      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'21../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h::
In file included from 
../../../source/simulation2/system/TurnManager.h:22:
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \In file included from 72../../../source/simulation2/helpers/SimulationCommand.h:39:21
:                                      ^ note
:
: In file included from ../../../source/scriptinterface/ScriptInterface.h:25:
In file included from ../../../source/scriptinterface/ScriptTypes.h:63:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:257:5: error: statement not allowed in constexpr function
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
    MOZ_RELEASE_ASSERT(lhs.span_ == rhs.span_);
    ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:7: note: expanded from macro 'MOZ_RELEASE_ASSERT'
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:39: note: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
In file included from ../../../source/network/NetFileTransfer.cpp:23:
In file included from ../../../source/network/NetMessage.h:26:
In file included from ../../../source/network/NetMessages.h:27:
In file included from ../../../source/scriptinterface/ScriptTypes.h:63:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:308:5: error: statement not allowed in constexpr constructor
    MOZ_RELEASE_ASSERT(ext.size() == Ext);
    ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:7: note: expanded from macro 'MOZ_RELEASE_ASSERT'
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:39: note: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
In file included from ../../../source/network/NetClientTurnManager.cpp:20:
In file included from ../../../source/network/NetClientTurnManager.h:21:
In file included from ../../../source/simulation2/system/TurnManager.h:22:
In file included from ../../../source/simulation2/helpers/SimulationCommand.h:21:
In file included from ../../../source/scriptinterface/ScriptInterface.h:25:
In file included from ../../../source/scriptinterface/ScriptTypes.h:63:
In file included from In file included from ../../../source/network/NetHost.cpp:In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h../../../source/network/NetFileTransfer.cpp::2315:
:
23In file included from In file included from ../../../source/network/NetMessage.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h::1226:
:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:In file included from :
../../../source/network/NetMessages.h:In file included from ../../../source/network/NetMessage.h:30826:27:
5:
In file included from : error: In file included from ../../../source/network/NetMessages.h:27../../../source/scriptinterface/ScriptTypes.h:63statement not allowed in constexpr constructor:

:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:In file included from     MOZ_RELEASE_ASSERT(ext.size() == Ext);
15:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h../../../source/scriptinterface/ScriptTypes.h:12:
:63:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h    ^:../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h
308:15:
:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.hIn file included from :459In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:../../../source/network/NetClient.cpp12:
::520::
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h 7In file included from ::error312../../../source/network/NetClient.h: :5statement not allowed in constexpr constructor
:24:     MOZ_RELEASE_ASSERT(ext.size() == Ext);error
:  :
note: statement not allowed in constexpr constructorIn file included from     ^

expanded from macro 'MOZ_RELEASE_ASSERT'
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:    MOZ_RELEASE_ASSERT(length == Ext);
../../../source/scriptinterface/ScriptInterface.h      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^:7
:    ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h: 2572../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:
note: In file included from ../../../source/scriptinterface/ScriptTypes.hexpanded from macro 'MOZ_RELEASE_ASSERT':459:
:39:63::
In file included from  ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.hnote      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \: 7
:expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT': 
15      ^:

note../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
::                                       ^expanded from macro 'MOZ_RELEASE_ASSERT'

In file included from 72:39:       MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.hnote
:       ^
:expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'12
:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:308:  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h
:5                                      ^72
:39: note:: In file included from  ../../../source/network/NetClientTurnManager.cppexpanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT':error
20:
In file included from ../../../source/network/NetClientTurnManager.h:21: :
In file included from ../../../source/simulation2/system/TurnManager.h:statement not allowed in constexpr constructor
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \22:
In file included from     MOZ_RELEASE_ASSERT(ext.size() == Ext);../../../source/simulation2/helpers/SimulationCommand.h
:21
In file included from :
../../../source/network/NetHost.cpp:    ^In file included from 
23                                      ^:
../../../source/scriptinterface/ScriptInterface.hIn file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h::
25:
../../../source/network/NetMessage.h459:In file included from 26::
7../../../source/scriptinterface/ScriptTypes.hIn file included from :../../../source/network/NetMessages.h: 27:
In file included from ../../../source/scriptinterface/ScriptTypes.h::63note63: :
expanded from macro 'MOZ_RELEASE_ASSERT'
:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15In file included from :
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h
      ^
../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:12../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h::
:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:15:
312:725:39:In file included from :../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h  :noteerror: 12expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
:
: statement not allowed in constexpr constructor
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
    MOZ_RELEASE_ASSERT(length == Ext);
    ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:7: note: expanded from macro 'MOZ_RELEASE_ASSERT'
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:39: note: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
In file included from ../../../source/network/NetClient.cpp:20:
In file included from ../../../source/network/NetClient.h  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h
:24:
In file included from :312:5: error: ../../../source/scriptinterface/ScriptInterface.h:25:
In file included from ../../../source/scriptinterface/ScriptTypes.h:63:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:312:5: error: statement not allowed in constexpr constructor
statement not allowed in constexpr constructor
    MOZ_RELEASE_ASSERT(length == Ext);
    ^
    MOZ_RELEASE_ASSERT(length == Ext);
    ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:7: note: ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459expanded from macro 'MOZ_RELEASE_ASSERT'
:7: note: expanded from macro 'MOZ_RELEASE_ASSERT'
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:39: note: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^

../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:39: note: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
In file included from ../../../source/network/NetFileTransfer.cpp:23:
In file included from ../../../source/network/NetMessage.h:26:
In file included from ../../../source/network/NetMessages.h:27:
In file included from ../../../source/scriptinterface/ScriptTypes.h:63:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:586:5: error: statement not allowed in constexpr function
    MOZ_RELEASE_ASSERT(Count <= size());
    ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:7: note: expanded from macro 'MOZ_RELEASE_ASSERT'
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:39: note: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
In file included from ../../../source/network/NetClientTurnManager.cpp:20  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^:
In file included from ../../../source/network/NetClientTurnManager.h:21:
In file included from ../../../source/simulation2/system/TurnManager.h:22:
In file included from ../../../source/simulation2/helpers/SimulationCommand.h:21:
In file included from ../../../source/scriptinterface/ScriptInterface.h:25:
In file included from ../../../source/scriptinterface/ScriptTypes.h:63:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:586:5: error: statement not allowed in constexpr function

    MOZ_RELEASE_ASSERT(Count <= size());
    ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:7: note: expanded from macro 'MOZ_RELEASE_ASSERT'
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:39: note: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
In file included from ../../../source/network/NetFileTransfer.cpp:23:
In file included from ../../../source/network/NetMessage.h:26:
In file included from ../../../source/network/NetMessages.h:27:
In file included from ../../../source/scriptinterface/ScriptTypes.hIn file included from ../../../source/network/NetClient.cpp::63:
In file included from 20:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15../../../source/network/NetClient.h:24:
In file included from :
In file included from ../../../source/scriptinterface/ScriptInterface.h:25:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
../../../source/scriptinterface/ScriptTypes.h:In file included from 63:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:In file included from :59615../../../source/network/NetHost.cpp:
../../../source/network/NetClientTurnManager.cpp:20In file included from :
:5:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h::12 In file included from error: 23statement not allowed in constexpr function../../../source/network/NetClientTurnManager.h:
:
In file included from :../../../source/network/NetMessage.h:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h26:21586:
In file included from :
../../../source/network/NetMessages.h
In file included from :../../../source/simulation2/system/TurnManager.h    MOZ_RELEASE_ASSERT(Count <= len);:27
5::
:    ^In file included from 22:
In file included from ../../../source/scriptinterface/ScriptTypes.h../../../source/simulation2/helpers/SimulationCommand.h::
6321:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h error:
:../../../libraries/source/spidermonkey/include-unix-debug/jsapi.hIn file included from 459:: 7statement not allowed in constexpr function:../../../source/scriptinterface/ScriptInterface.h::
25:
 In file included from note    MOZ_RELEASE_ASSERT(Count <= size());../../../source/scriptinterface/ScriptTypes.h
15:: expanded from macro 'MOZ_RELEASE_ASSERT'
63:
In file included from     ^:
../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h
In file included from :      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^15:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h459
:7In file included from ::../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:12 ::
72note../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:: :1239::
expanded from macro 'MOZ_RELEASE_ASSERT'
596 :note../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:       MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \5: 
error: :statement not allowed in constexpr function
586:5      ^
    MOZ_RELEASE_ASSERT(Count <= len);expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT':
 error    ^../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h
:72
:39../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h: :459statement not allowed in constexpr function:
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^:     MOZ_RELEASE_ASSERT(Count <= size());7:

 note    ^note: : expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'

expanded from macro 'MOZ_RELEASE_ASSERT'
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:7:      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \ 
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \      ^

                                      ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:39: note: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
note: expanded from macro 'MOZ_RELEASE_ASSERT'
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
In file included from ../../../source/network/NetFileTransfer.cpp:23:
In file included from ../../../source/network/NetMessage.h:26:
In file included from ../../../source/network/NetMessages.h:27:
In file included from ../../../source/scriptinterface/ScriptTypes.hIn file included from ../../../source/network/NetClient.cpp:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h::726320::
:
In file included from ../../../source/network/NetClient.h:3924: In file included from note: :
../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15In file included from expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT':
../../../source/scriptinterface/ScriptInterface.h:In file included from In file included from 25
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \In file included from 
                                      ^:
../../../source/network/NetClientTurnManager.cpp:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h20
:
../../../source/scriptinterface/ScriptTypes.hIn file included from ../../../source/network/NetClientTurnManager.h::21606:::
63In file included from 5../../../source/simulation2/system/TurnManager.h::
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:22 :
:error15: :
In file included from In file included from ../../../source/simulation2/helpers/SimulationCommand.h:statement not allowed in constexpr function../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h
:12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h    MOZ_RELEASE_ASSERT(Offset <= len &&21
:
In file included from :    ^In file included from ../../../source/network/NetHost.cpp:23596
:5:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h: :
error: 459:In file included from 7../../../source/network/NetMessage.h../../../source/scriptinterface/ScriptInterface.h:: 26:25statement not allowed in constexpr function:

In file included from ../../../source/network/NetMessages.h:    MOZ_RELEASE_ASSERT(Count <= len);27
    ^:
noteIn file included from 
:
In file included from ../../../source/scriptinterface/ScriptTypes.h: ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.hexpanded from macro 'MOZ_RELEASE_ASSERT':../../../source/scriptinterface/ScriptTypes.h63:
459:
In file included from ::../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h763:
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \:
:      ^In file included from  ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h15note:: 
:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:15:
expanded from macro 'MOZ_RELEASE_ASSERT'../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h
:In file included from 7212:
:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:606      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \::39
12      ^:
 note:
5../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h::: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:596:72 error5:: :   MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
error39:                                       ^:statement not allowed in constexpr function
 note: statement not allowed in constexpr functionexpanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'

    MOZ_RELEASE_ASSERT(Count <= len);
    ^

  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:    MOZ_RELEASE_ASSERT(Offset <= len &&459
    ^
                                      ^
:7: note: expanded from macro 'MOZ_RELEASE_ASSERT'
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:7: note: expanded from macro 'MOZ_RELEASE_ASSERT'
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
In file included from ../../../source/network/NetFileTransfer.cpp:23:
      ^In file included from 
../../../source/network/NetMessage.h:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \26
      ^:
72::
39In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h../../../source/network/NetMessages.h::: note2772: ::
39expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'In file included from :In file included from ../../../source/scriptinterface/ScriptTypes.h :../../../source/network/NetClient.cppnote63:
: 
:20expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'In file included from 
:
../../../libraries/source/spidermonkey/include-unix-debug/jsapi.hIn file included from :15  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \../../../source/network/NetClient.h::
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \In file included from 

../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:2412                                      ^:

                                      ^../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h
:
In file included from :615:5: error: ../../../source/scriptinterface/ScriptInterface.h:25:
In file included from statement not allowed in constexpr function
../../../source/scriptinterface/ScriptTypes.h:63:
In file included from     MOZ_RELEASE_ASSERT(aCount <= size());
    ^
../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:606:5: error: statement not allowed in constexpr function
In file included from ../../../source/network/NetClientTurnManager.cpp:20    MOZ_RELEASE_ASSERT(Offset <= len &&:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h../../../source/network/NetClientTurnManager.h:In file included from 
../../../source/network/NetHost.cpp:459::723::
In file included from 21../../../source/network/NetMessage.h :
:note26    ^In file included from 
:
In file included from ../../../source/network/NetMessages.h:../../../source/simulation2/system/TurnManager.h: :27:
22expanded from macro 'MOZ_RELEASE_ASSERT'
:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.hIn file included from ../../../source/simulation2/helpers/SimulationCommand.h::      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
21:
In file included from ../../../source/scriptinterface/ScriptTypes.h:../../../source/scriptinterface/ScriptInterface.h459      ^:763: :

:25:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.hIn file included from ../../../source/scriptinterface/ScriptTypes.h15::
72note:In file included from : :63:
expanded from macro 'MOZ_RELEASE_ASSERT'../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:
39: note: In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15:
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
In file included from expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'12
      ^:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h
:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \12:

../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h72                                      ^:606:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h::6155:395:
:: error  note: : errorstatement not allowed in constexpr function
: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
statement not allowed in constexpr function
    MOZ_RELEASE_ASSERT(Offset <= len &&
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
    ^
    MOZ_RELEASE_ASSERT(aCount <= size());                                      ^

    ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:7: :7: note: expanded from macro 'MOZ_RELEASE_ASSERT'
note: expanded from macro 'MOZ_RELEASE_ASSERT'
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h../../../source/network/NetFileTransfer.cpp:23      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:In file included from In file included from 72:72:../../../source/network/NetClient.cpp:39:39:20: :
In file included from ../../../source/network/NetMessage.h:../../../source/network/NetClient.h 26notenote:24: : :
In file included from expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
../../../source/scriptinterface/ScriptInterface.h
:
:25:
In file included from In file included from ../../../source/network/NetMessages.h  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \:
                                      ^../../../source/scriptinterface/ScriptTypes.h27:
:63
In file included from :
In file included from   MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \../../../source/scriptinterface/ScriptTypes.h
:../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h                                      ^63
:
:15:
In file included from In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:615:5: error: ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.hstatement not allowed in constexpr function:In file included from 12../../../source/network/NetHost.cpp:
23:
In file included from :
../../../source/network/NetMessage.h    MOZ_RELEASE_ASSERT(aCount <= size());../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h
:624    ^::265:
In file included from :../../../source/network/NetMessages.h: In file included from ../../../source/network/NetClientTurnManager.cpperror27:20
:
In file included from :
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h: :459../../../source/scriptinterface/ScriptTypes.hstatement not allowed in constexpr function:63::
../../../source/network/NetClientTurnManager.h:7In file included from :../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:
21:
In file included from 15 ../../../source/simulation2/system/TurnManager.h:
note:     MOZ_RELEASE_ASSERT(aCount <= len);:expanded from macro 'MOZ_RELEASE_ASSERT'In file included from 22:

    ^In file included from 

../../../source/simulation2/helpers/SimulationCommand.h:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h21:
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
12      ^:
:459In file included from 
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:615::72:7../../../source/scriptinterface/ScriptInterface.h:5:  39:: 25:
errornoteIn file included from : expanded from macro 'MOZ_RELEASE_ASSERT'note../../../source/scriptinterface/ScriptTypes.h:63: 
:
expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
: In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15statement not allowed in constexpr function  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \:


      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \In file included from 
      ^../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h    MOZ_RELEASE_ASSERT(aCount <= size());
:12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:
                                      ^    ^../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:72:39624::5 

note: ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:: errorexpanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
: 459:7:  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \statement not allowed in constexpr function

 note: expanded from macro 'MOZ_RELEASE_ASSERT'    MOZ_RELEASE_ASSERT(aCount <= len);                                      ^

    ^

../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:7: note: expanded from macro 'MOZ_RELEASE_ASSERT'
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:39:In file included from ../../../source/network/NetClient.cpp: note      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \20
:
In file included from : ../../../source/network/NetClient.h:24:
expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'      ^In file included from 

../../../source/scriptinterface/ScriptInterface.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:In file included from 25  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \../../../source/network/NetFileTransfer.cpp:::
In file included from 39
: note23../../../source/scriptinterface/ScriptTypes.h:: :
63expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'                                      ^:


In file included from In file included from   MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h../../../source/network/NetMessage.h::26
:
In file included from 15:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:624:5: error: statement not allowed in constexpr function../../../source/network/NetMessages.h:27
:
In file included from ../../../source/scriptinterface/ScriptTypes.h:    MOZ_RELEASE_ASSERT(aCount <= len);
    ^63:
In file included from 
In file included from ../../../source/network/NetHost.cpp:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h23459::
:In file included from 157../../../source/network/NetMessage.h: :26note:
: In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:
expanded from macro 'MOZ_RELEASE_ASSERT'
:In file included from 12:
../../../source/network/NetClientTurnManager.cpp      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^:20../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.hIn file included from ../../../source/network/NetMessages.h::
27In file included from :../../../source/network/NetClientTurnManager.h
634:::
215In file included from :
../../../source/scriptinterface/ScriptTypes.h:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:In file included from :7263 :error: :
../../../source/simulation2/system/TurnManager.hIn file included from statement not allowed in constexpr function:../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h
22:39:
15: In file included from :
../../../source/simulation2/helpers/SimulationCommand.hIn file included from note::     MOZ_RELEASE_ASSERT(aStart <= len && (aLength == dynamic_extent ||
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'    ^

12../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:21459  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \:
:
7                                      ^../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h::
624
In file included from :5../../../source/scriptinterface/ScriptInterface.h:::25  :
In file included from ../../../source/scriptinterface/ScriptTypes.h:errornote: statement not allowed in constexpr function
: 63    MOZ_RELEASE_ASSERT(aCount <= len);
:
In file included from     ^
../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.hexpanded from macro 'MOZ_RELEASE_ASSERT':12../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:
:459:7: 
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.hnote: :634:5      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^expanded from macro 'MOZ_RELEASE_ASSERT'
In file included from ../../../source/network/NetClient.cpp::20       MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
:
errorIn file included from       ^
: 
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.hstatement not allowed in constexpr function../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72
::39:../../../source/network/NetClient.h72:24 :    MOZ_RELEASE_ASSERT(aStart <= len && (aLength == dynamic_extent ||note:

    ^39::  
noteexpanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'In file included from 
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:: 459  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \../../../source/scriptinterface/ScriptInterface.h::25expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'

:
                                      ^In file included from ../../../source/scriptinterface/ScriptTypes.h:
7  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
63: note:
In file included from : ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15:
expanded from macro 'MOZ_RELEASE_ASSERT'                                      ^
In file included from 
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:634:5: error: statement not allowed in constexpr function
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h    MOZ_RELEASE_ASSERT(aStart <= len && (aLength == dynamic_extent ||
    ^
:72:39: note: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:7  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
:                                      ^
In file included from  note: In file included from expanded from macro 'MOZ_RELEASE_ASSERT'
../../../source/network/NetFileTransfer.cpp:23:
In file included from ../../../source/network/NetMessage.h:26../../../source/network/NetHost.cpp      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \:

In file included from ../../../source/network/NetMessages.h::2723:
      ^In file included from 
:
../../../source/network/NetMessage.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.hIn file included from :../../../source/scriptinterface/ScriptTypes.h::7263::
In file included from 39:26../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:
In file included from ../../../source/network/NetClientTurnManager.cpp:20 In file included from :15note: ../../../source/network/NetMessages.h:
In file included from expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
../../../source/network/NetClientTurnManager.h:21:
:
:In file included from In file included from 27../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h::
In file included from 12../../../source/scriptinterface/ScriptTypes.h../../../source/simulation2/system/TurnManager.h:  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \::
22:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:
In file included from 63../../../source/simulation2/helpers/SimulationCommand.h660::                                      ^521:
:
 error:
In file included from In file included from : ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:../../../source/scriptinterface/ScriptInterface.h:2515statement not allowed in constexpr function:

:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h    MOZ_RELEASE_ASSERT(aStart <= aEnd);:
In file included from 634../../../source/scriptinterface/ScriptTypes.h::    ^563::

 In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h::error459: statement not allowed in constexpr function
15:
In file included from :In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:7../../../source/network/NetClient.cpp12    MOZ_RELEASE_ASSERT(aStart <= len && (aLength == dynamic_extent ||
:    ^:
20:
:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h note:459:In file included from 7../../../source/network/NetClient.h: ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:::24:
660 :5expanded from macro 'MOZ_RELEASE_ASSERT'In file included from :
note ../../../source/scriptinterface/ScriptInterface.h: expanded from macro 'MOZ_RELEASE_ASSERT'
error      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \:: statement not allowed in constexpr function

      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
      ^    MOZ_RELEASE_ASSERT(aStart <= aEnd);

25../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72    ^../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h::
:In file included from 7239:../../../source/scriptinterface/ScriptTypes.h:
 39note../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h: ::459:expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT':
7:63 :
In file included from  ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.hnote:note: 15:   MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
:
expanded from macro 'MOZ_RELEASE_ASSERT'In file included from 
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:660
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \:5: 
                                      ^error
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \: statement not allowed in constexpr function

      ^
    MOZ_RELEASE_ASSERT(aStart <= aEnd);../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72
    ^
:39:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459 note: :7In file included from ../../../source/network/NetHost.cpp:: note: 23:
In file included from ../../../source/network/NetMessage.h:26expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
:
In file included from ../../../source/network/NetMessages.h:27:
In file included from expanded from macro 'MOZ_RELEASE_ASSERT'  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
../../../source/scriptinterface/ScriptTypes.h:63:
In file included from 
../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
12../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:39: note: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:660  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
In file included from ../../../source/network/NetFileTransfer.cpp:23:
In file included from ../../../source/network/NetMessage.h:26:
In file included from ../../../source/network/NetMessages.h:27:
In file included from ../../../source/scriptinterface/ScriptTypes.h:63:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:700:5: error: statement not allowed in constexpr function
    MOZ_RELEASE_ASSERT(idx < storage_.size());
    ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:7: note: expanded from macro 'MOZ_RELEASE_ASSERT'
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:39: note:: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
5: error  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \In file included from ../../../source/network/NetClientTurnManager.cpp: 
:20                                      ^
:
In file included from ../../../source/network/NetClientTurnManager.h:21:
In file included from statement not allowed in constexpr function
../../../source/simulation2/system/TurnManager.h:22:
In file included from ../../../source/simulation2/helpers/SimulationCommand.h:    MOZ_RELEASE_ASSERT(aStart <= aEnd);
21In file included from     ^:
In file included from 
../../../source/network/NetClient.cpp:20:
In file included from ../../../source/network/NetClient.h:24:
../../../source/scriptinterface/ScriptInterface.h:25:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h../../../source/scriptinterface/ScriptTypes.h:459:63:
In file included from In file included from :../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h7../../../source/scriptinterface/ScriptInterface.h: ::note2515:
In file included from :
: In file included from ../../../source/scriptinterface/ScriptTypes.h:expanded from macro 'MOZ_RELEASE_ASSERT'63
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:
In file included from :12:
../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h15:700      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \:

      ^:
5:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.hIn file included from  :error../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h: 72::statement not allowed in constexpr function3912
::
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:700: 5note: : expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'error: 
In file included from statement not allowed in constexpr function
../../../source/network/NetFileTransfer.cpp    MOZ_RELEASE_ASSERT(idx < storage_.size());
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^    ^

:23:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h    MOZ_RELEASE_ASSERT(idx < storage_.size());../../../source/network/NetMessage.h
:459    ^::26
7: ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459note: ::
expanded from macro 'MOZ_RELEASE_ASSERT'In file included from 7../../../source/network/NetMessages.h::
 note: expanded from macro 'MOZ_RELEASE_ASSERT'
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \

27:
In file included from       ^../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:
72../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h../../../source/scriptinterface/ScriptTypes.h:::7263:3939:
::In file included from  note:  ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.hexpanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'note:
: 15:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \12
expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'                                      ^
:

../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:760:7:  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
 error: statement not allowed in constexpr constructor
      MOZ_RELEASE_ASSERT(
      ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:7: note: In file included from expanded from macro 'MOZ_RELEASE_ASSERT'
../../../source/network/NetHost.cpp:23:
In file included from ../../../source/network/NetMessage.h:26:
In file included from ../../../source/network/NetMessages.h:27:
In file included from ../../../source/scriptinterface/ScriptTypes.h:63:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:700:5: error: statement not allowed in constexpr function
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
    MOZ_RELEASE_ASSERT(idx < storage_.size());
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:39:     ^
note: ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
In file included from 459:In file included from ../../../source/network/NetClient.cpp:  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \7
20::
../../../source/network/NetClientTurnManager.cpp                                      ^
 :20In file included from :
In file included from ../../../source/network/NetClientTurnManager.h:../../../source/network/NetClient.hnote:21: expanded from macro 'MOZ_RELEASE_ASSERT'24:

:
In file included from ../../../source/simulation2/system/TurnManager.h:22:
In file included from       MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
In file included from ../../../source/simulation2/helpers/SimulationCommand.h      ^../../../source/scriptinterface/ScriptInterface.h:
21:
In file included from :../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h../../../source/scriptinterface/ScriptInterface.h25::
72::In file included from 2539:
: ../../../source/scriptinterface/ScriptTypes.hIn file included from :63../../../source/scriptinterface/ScriptTypes.h:63note: :
:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:In file included from expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'15../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:
In file included from 
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \:76015
:
In file included from                                       ^../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12::
7
: error: ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:760:7: error: statement not allowed in constexpr constructor
statement not allowed in constexpr constructor
      MOZ_RELEASE_ASSERT(
      ^
      MOZ_RELEASE_ASSERT(
      ^../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:7: note: expanded from macro 'MOZ_RELEASE_ASSERT'

../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:7: note: expanded from macro 'MOZ_RELEASE_ASSERT'
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:39: note: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
72:39: note: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
In file included from ../../../source/network/NetHost.cpp:23:
In file included from ../../../source/network/NetMessage.h:26:
In file included from ../../../source/network/NetMessages.h:27:
In file included from ../../../source/scriptinterface/ScriptTypes.h:63:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:760:7: error: statement not allowed in constexpr constructor
      MOZ_RELEASE_ASSERT(
      ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:7: note: expanded from macro 'MOZ_RELEASE_ASSERT'
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:39: note: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
fatal error: fatal error: too many errors emitted, stopping now [-ferror-limit=]
too many errors emitted, stopping now [-ferror-limit=]
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
20 errors generated.
make[1]: *** [obj/network_Debug/NetHost.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [obj/network_Debug/NetFileTransfer.o] Error 1
20 errors generated.
make[1]: *** [obj/network_Debug/NetClientTurnManager.o] Error 1
20 errors generated.
make[1]: *** [obj/network_Debug/NetClient.o] Error 1
make: *** [network] Error 2

Link to build: https://jenkins.wildfiregames.com/job/macos-differential/2033/display/redirect

Successfully builds on my end :)

build/premake/extern_libs5.lua
539

Not sure how LUA works, but I guess you can make the version a variable?

build/workspaces/clean-workspaces.sh
46

Same as below ;)

libraries/source/spidermonkey/build.sh
8–9

If you would use a variable for the actual version you could use that here, above and in L89?

Freagarach added inline comments.Fri, Nov 20, 7:32 AM
build/premake/premake5.lua
9

Do you need the 60 here?

Stan added a subscriber: Stan.Fri, Nov 20, 9:02 AM
Stan added inline comments.
wraitii added inline comments.Fri, Nov 20, 9:10 AM
build/premake/premake5.lua
9

Ideally I should actually put the minor version here too. Removing it from the option let me not update workspaces in the future but this might be good documentation for users.

296

Thanks for noticing, it's actually just that build options cppdialect didn't exist before alpha12 (which we now use).

libraries/source/spidermonkey/build.sh
8–9

the 'trouble' is that the lib name is "60", meaning it's not that convenient imo over search-and-replace.

wraitii updated this revision to Diff 14102.Fri, Nov 20, 10:44 AM

Fix for the sharedArrayRefs thing included in here. Specify MS15.

Build failure - The Moirai have given mortals hearts that can endure.

Link to build: https://jenkins.wildfiregames.com/job/vs2015-differential/3146/display/redirect

Build failure - The Moirai have given mortals hearts that can endure.

builderr-debug-macos.txt
In file included from ../../../source/network/NetHost.cppIn file included from :23:
../../../source/network/NetFileTransfer.cpp:23:
In file included from In file included from In file included from ../../../source/network/NetMessage.h:../../../source/network/NetMessage.hIn file included from ../../../source/network/NetClientTurnManager.cpp26:26::
In file included from ../../../source/network/NetClient.cpp:../../../source/network/NetMessages.h2020::
In file included from 27:
:
../../../source/network/NetClient.hIn file included from In file included from ../../../source/scriptinterface/ScriptTypes.h../../../source/network/NetMessages.h::
:24:
:In file included from 63:
../../../source/network/NetClientTurnManager.h:2127In file included from :
:
In file included from In file included from In file included from ../../../source/scriptinterface/ScriptInterface.h../../../source/scriptinterface/ScriptTypes.h:../../../source/simulation2/system/TurnManager.h:../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:25:22:
15:
In file included from ../../../source/scriptinterface/ScriptTypes.hIn file included from 63:
:In file included from 63../../../source/simulation2/helpers/SimulationCommand.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:
:12:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:2115:
:
:
:In file included from In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:../../../source/scriptinterface/ScriptInterface.h166In file included from :1225../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h::
:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:5:In file included from : 166error../../../source/scriptinterface/ScriptTypes.h:: 15:63:
:
5In file included from statement not allowed in constexpr constructor../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h
:15In file included from :
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:In file included from  ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:
:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:166:12error:     MOZ_RELEASE_ASSERT(span == nullptr ||statement not allowed in constexpr constructor:
5

    ^../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h::166: 
error: 5:     MOZ_RELEASE_ASSERT(span == nullptr ||statement not allowed in constexpr constructor
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:7: note: 
expanded from macro 'MOZ_RELEASE_ASSERT'
    MOZ_RELEASE_ASSERT(span == nullptr ||    ^
    ^
error
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \: statement not allowed in constexpr constructor

      ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h::459:    MOZ_RELEASE_ASSERT(span == nullptr ||
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h    ^7:72: note:39:459
:7:  :noteexpanded from macro 'MOZ_RELEASE_ASSERT': ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT':7
:  notenote
: :       MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
expanded from macro 'MOZ_RELEASE_ASSERT'expanded from macro 'MOZ_RELEASE_ASSERT'  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \      ^



                                      ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:39:       MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^note
: 
      ^../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.hexpanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
:
72:39:   MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h
:72:note: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
39: note:   MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
In file included from ../../../source/network/NetHost.cpp:23:
In file included from ../../../source/network/NetMessage.h:26:
In file included from ../../../source/network/NetMessages.h:27:
In file included from ../../../source/scriptinterface/ScriptTypes.h:63:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:In file included from 12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h../../../source/network/NetClient.cpp::17820:
In file included from :5: error: ../../../source/network/NetClient.h:In file included from ../../../source/network/NetFileTransfer.cppIn file included from :../../../source/network/NetClientTurnManager.cppstatement not allowed in constexpr function:2024:
In file included from 
../../../source/network/NetClientTurnManager.h::
2321In file included from :
:
../../../source/scriptinterface/ScriptInterface.hIn file included from :25../../../source/simulation2/system/TurnManager.h:22:
In file included from :
    MOZ_RELEASE_ASSERT(span_);
../../../source/simulation2/helpers/SimulationCommand.hIn file included from     ^:21:
../../../source/network/NetMessage.h:In file included from 26../../../source/scriptinterface/ScriptTypes.h:
:
In file included from In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h../../../source/scriptinterface/ScriptInterface.h:25:../../../source/network/NetMessages.h:
63:459:
27:
In file included from In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:In file included from ../../../source/scriptinterface/ScriptTypes.h:../../../source/scriptinterface/ScriptTypes.h:763:
63:15:
:
In file included from :../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:In file included from In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h1515:12:
In file included from :
:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:In file included from  note: ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:178expanded from macro 'MOZ_RELEASE_ASSERT':
:12125: :
:
error: ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.hstatement not allowed in constexpr function:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h
178:      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \178:
    MOZ_RELEASE_ASSERT(span_);
      ^
:5../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h::     ^error725:: 39:statement not allowed in constexpr function
: error
    MOZ_RELEASE_ASSERT(span_);
    ^ note
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459: statement not allowed in constexpr function../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h: :
459:7:    MOZ_RELEASE_ASSERT(span_);
     ^:noteexpanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'7:
 : note../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h
:459:7:expanded from macro 'MOZ_RELEASE_ASSERT'   MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
: note: expanded from macro 'MOZ_RELEASE_ASSERT'
                                      ^expanded from macro 'MOZ_RELEASE_ASSERT'

      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
:
39: note../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:3972: : :39: noteexpanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT': note
: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
In file included from   MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'../../../source/network/NetHost.cpp
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^

:23:
In file included from ../../../source/network/NetMessage.h:  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \                                      ^

26:
In file included from ../../../source/network/NetMessages.h:27:
In file included from ../../../source/scriptinterface/ScriptTypes.h:63:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:183:5In file included from ../../../source/network/NetClient.cpp                                      ^::20:

In file included from In file included from ../../../source/network/NetClientTurnManager.cpp:../../../source/network/NetClient.h error: statement not allowed in constexpr function
20:
In file included from     MOZ_RELEASE_ASSERT(span_);
../../../source/network/NetClientTurnManager.h    ^:
24:
:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:In file included from 21459::
../../../source/scriptinterface/ScriptInterface.h7:: 25:
noteIn file included from : ../../../source/simulation2/system/TurnManager.h:In file included from In file included from 22../../../source/network/NetFileTransfer.cpp::
In file included from ../../../source/scriptinterface/ScriptTypes.h23../../../source/simulation2/helpers/SimulationCommand.h::
In file included from :21../../../source/network/NetMessage.h:
In file included from :63../../../source/scriptinterface/ScriptInterface.h:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.hexpanded from macro 'MOZ_RELEASE_ASSERT'26:
::
2515:
In file included from :
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h../../../source/network/NetMessages.h:27In file included from       MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
:
      ^
In file included from :../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h../../../source/scriptinterface/ScriptTypes.h12:../../../source/scriptinterface/ScriptTypes.h63::
In file included from :
:63../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h::
72../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.hIn file included from 15:::
39183::5 : note../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h: :expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'error
15In file included from :
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:In file included from : ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h12:statement not allowed in constexpr function  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h    MOZ_RELEASE_ASSERT(span_);:
    ^
183:                                      ^:

5
: ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459error:: statement not allowed in constexpr function
:183:5    MOZ_RELEASE_ASSERT(span_);: 
7    ^
error: ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:statement not allowed in constexpr function: 
459:    MOZ_RELEASE_ASSERT(span_);
note7    ^: :expanded from macro 'MOZ_RELEASE_ASSERT'
 noteIn file included from ../../../source/network/NetHost.cpp
: :23      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \expanded from macro 'MOZ_RELEASE_ASSERT'

../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h      ^:
:459
In file included from ../../../source/network/NetMessage.h:      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \26../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:
:
      ^7:72In file included from :../../../source/network/NetMessages.h:39
 :../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:27:72:
 In file included from :note: 39note:../../../source/scriptinterface/ScriptTypes.h: :63expanded from macro 'MOZ_RELEASE_ASSERT'expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT':

In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h 
:15note: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT':
In file included from 
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h                                      ^

  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \:12      ^:


../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h                                      ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:39: note: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
:188:5: error:   MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
statement not allowed in constexpr function
In file included from     MOZ_RELEASE_ASSERT(span_ && index_ >= 0 && index_ < span_->Length());
    ^
../../../source/network/NetClient.cpp:20:
In file included from In file included from ../../../source/network/NetClientTurnManager.cpp:20:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h../../../source/network/NetClient.hIn file included from :24:
../../../source/network/NetClientTurnManager.hIn file included from :21:../../../source/scriptinterface/ScriptInterface.h459:25:
:In file included from 7:
:In file included from In file included from ../../../source/simulation2/system/TurnManager.h ../../../source/network/NetFileTransfer.cppnote:../../../source/scriptinterface/ScriptTypes.h:22:23:
63In file included from ../../../source/network/NetMessage.h::
26:
:
In file included from In file included from In file included from ../../../source/simulation2/helpers/SimulationCommand.h../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h: :15:
expanded from macro 'MOZ_RELEASE_ASSERT'
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h::21:
In file included from       MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \../../../source/network/NetMessages.h../../../source/scriptinterface/ScriptInterface.h
:      ^2712:
:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h
../../../source/scriptinterface/ScriptTypes.h:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:25:
:In file included from ../../../source/scriptinterface/ScriptTypes.h:63:
7263::In file included from 188../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h39:::
 noteIn file included from 15../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h: :
:expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT':5In file included from 15../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h::
In file included from 12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h
:12: error../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:   MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \statement not allowed in constexpr function

:
:                                      ^../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h
    MOZ_RELEASE_ASSERT(span_ && index_ >= 0 && index_ < span_->Length());
:188188:    ^5
: error../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h: :statement not allowed in constexpr function
5: error: :    MOZ_RELEASE_ASSERT(span_ && index_ >= 0 && index_ < span_->Length());
459statement not allowed in constexpr function:    ^

7: note: expanded from macro 'MOZ_RELEASE_ASSERT'
    MOZ_RELEASE_ASSERT(span_ && index_ >= 0 && index_ < span_->Length());
    ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \459459::7:
In file included from        ^../../../source/network/NetHost.cpp:
7note: 23:expanded from macro 'MOZ_RELEASE_ASSERT'
 note../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:
: In file included from expanded from macro 'MOZ_RELEASE_ASSERT'../../../source/network/NetMessage.h::
72:3926      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \::
72      ^In file included from 
../../../source/network/NetMessages.h:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h note27:: 72:expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT':39::
39: noteIn file included from 
 : noteexpanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT': ../../../source/scriptinterface/ScriptTypes.h:63:
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'

In file included from                                       ^
../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \15
:
                                      ^In file included from 
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:
12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:200:5: error: statement not allowed in constexpr function
                                      ^
    MOZ_RELEASE_ASSERT(span_ && index_ > 0 && index_ <= span_->Length());
    ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:7: note: expanded from macro 'MOZ_RELEASE_ASSERT'
In file included from ../../../source/network/NetClient.cpp:20:
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:39../../../source/network/NetClient.h::In file included from  note../../../source/network/NetFileTransfer.cpp24::
In file included from : ../../../source/scriptinterface/ScriptInterface.hexpanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'In file included from 23../../../source/network/NetClientTurnManager.cpp:::
25
20:
In file included from :
../../../source/network/NetMessage.h:26In file included from   MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \:
In file included from In file included from 
../../../source/scriptinterface/ScriptTypes.h:                                      ^../../../source/network/NetMessages.h../../../source/network/NetClientTurnManager.h63::
2721:
:
In file included from In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:
:15../../../source/scriptinterface/ScriptTypes.h:
:In file included from In file included from 63:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.hIn file included from :12../../../source/simulation2/system/TurnManager.h:
:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:200:../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:1522:
:
5In file included from In file included from :../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h../../../source/simulation2/helpers/SimulationCommand.h :error12:
:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h21: ::
statement not allowed in constexpr function200
:5In file included from : error../../../source/scriptinterface/ScriptInterface.h    MOZ_RELEASE_ASSERT(span_ && index_ > 0 && index_ <= span_->Length());
: :statement not allowed in constexpr function    ^
25:
In file included from ../../../source/network/NetHost.cpp
In file included from :23../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h../../../source/scriptinterface/ScriptTypes.h::63:
    MOZ_RELEASE_ASSERT(span_ && index_ > 0 && index_ <= span_->Length());
:
In file included from     ^
../../../source/network/NetMessage.h459:7In file included from :../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h::26 15:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:note:
In file included from 459: :7expanded from macro 'MOZ_RELEASE_ASSERT'
:In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:../../../source/network/NetMessages.h note12:
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h
:      ^
:27: 200expanded from macro 'MOZ_RELEASE_ASSERT'../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h
:
In file included from ::../../../source/scriptinterface/ScriptTypes.h72:5::6339 :error       MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \: 
      ^statement not allowed in constexpr function:

In file included from note
: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h::72    MOZ_RELEASE_ASSERT(span_ && index_ > 0 && index_ <= span_->Length());  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
:
15    ^                                      ^
:
39In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:
:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:7 12note::  :
note: expanded from macro 'MOZ_RELEASE_ASSERT'expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'

../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:218:5: error  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \: 

statement not allowed in constexpr function                                      ^
      ^

../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:39: note: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
    MOZ_RELEASE_ASSERT(span_ && (index_ + n) >= 0 &&
    ^
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459                                      ^
:7: note: expanded from macro 'MOZ_RELEASE_ASSERT'
In file included from ../../../source/network/NetClient.cpp      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^:20:
In file included from ../../../source/network/NetClient.h:24:
In file included from ../../../source/scriptinterface/ScriptInterface.h:25:
In file included from ../../../source/scriptinterface/ScriptTypes.h:63:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.hIn file included from ../../../source/network/NetFileTransfer.cpp
:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h::2372:39: :
noteIn file included from ../../../source/network/NetMessage.h:26:
In file included from ../../../source/network/NetMessages.h15::
In file included from : ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
12In file included from :
../../../source/network/NetClientTurnManager.cpp  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \27:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:
:218In file included from :20:
5In file included from ../../../source/scriptinterface/ScriptTypes.h::../../../source/network/NetClientTurnManager.h:63:

 21In file included from error                                      ^../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:
:In file included from ../../../source/simulation2/system/TurnManager.h
: statement not allowed in constexpr function
:22:
In file included from 15    MOZ_RELEASE_ASSERT(span_ && (index_ + n) >= 0 &&
../../../source/simulation2/helpers/SimulationCommand.h:
    ^In file included from 
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h21:459../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:::
7In file included from :../../../source/scriptinterface/ScriptInterface.h:25 :
note: 218expanded from macro 'MOZ_RELEASE_ASSERT':5In file included from : error../../../source/scriptinterface/ScriptTypes.h:
: statement not allowed in constexpr function63:
In file included from 
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
In file included from       ^
../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h    MOZ_RELEASE_ASSERT(span_ && (index_ + n) >= 0 &&../../../source/network/NetHost.cpp../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:::7215:
In file included from 
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12::
3923:
In file included from :    ^ note
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:: ../../../source/network/NetMessage.h218expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h
:5::: 26  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \459
                                      ^error:
In file included from ../../../source/network/NetMessages.h: statement not allowed in constexpr function
:
7: note:27:     MOZ_RELEASE_ASSERT(span_ && (index_ + n) >= 0 &&expanded from macro 'MOZ_RELEASE_ASSERT'
:
    ^

In file included from ../../../source/scriptinterface/ScriptTypes.h:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:45963::
In file included from       MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \7
      ^../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h
::../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h15 :note72:
: :expanded from macro 'MOZ_RELEASE_ASSERT'39:In file included from  ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:
note12In file included from ../../../source/network/NetClient.cpp: :
:20../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.hexpanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
:237:
:In file included from 
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
      ^5                                      ^
:../../../source/network/NetClient.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h
:72 error:24:
: In file included from ../../../source/scriptinterface/ScriptInterface.h::39:statement not allowed in constexpr function 
note: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
25:
In file included from     MOZ_RELEASE_ASSERT(span_ == rhs.span_);
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \    ^
                                      ^
../../../source/scriptinterface/ScriptTypes.h:63:
In file included from 
../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:
In file included from :In file included from ../../../source/network/NetFileTransfer.cpp:23../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h7:
:In file included from ../../../source/network/NetMessage.h:12:26 :
:
noteIn file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h: :expanded from macro 'MOZ_RELEASE_ASSERT'
237../../../source/network/NetMessages.h:27:
In file included from       MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^:
../../../source/scriptinterface/ScriptTypes.hIn file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h../../../source/network/NetClientTurnManager.cpp:20:
:5In file included from :: 63../../../source/network/NetClientTurnManager.h::
error21: :
72In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.hIn file included from :39../../../source/simulation2/system/TurnManager.hstatement not allowed in constexpr function:15
:
::In file included from 22     MOZ_RELEASE_ASSERT(span_ == rhs.span_);:
note
In file included from :     ^
../../../source/simulation2/helpers/SimulationCommand.hexpanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h21:
:12  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
::
459:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:2377                                      ^
:: note5::  expanded from macro 'MOZ_RELEASE_ASSERT'
error: In file included from ../../../source/scriptinterface/ScriptInterface.h:25:
statement not allowed in constexpr function      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \In file included from 
../../../source/scriptinterface/ScriptTypes.h:63
:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15      ^:

    MOZ_RELEASE_ASSERT(span_ == rhs.span_);../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h
In file included from     ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h::In file included from 23772:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:../../../source/network/NetHost.cpp39::459 note::7235: ::
 expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'error: : 
statement not allowed in constexpr functionnoteIn file included from :   MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \../../../source/network/NetMessage.h

expanded from macro 'MOZ_RELEASE_ASSERT'                                      ^
:
    MOZ_RELEASE_ASSERT(span_ == rhs.span_);
    ^
26:
In file included from       MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h../../../source/network/NetMessages.h:
27      ^
:
In file included from ../../../source/scriptinterface/ScriptTypes.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h::459::76372::
: 39note: In file included from expanded from macro 'MOZ_RELEASE_ASSERT'
../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15:
In file included from : ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.hnote:       MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \In file included from 
../../../source/network/NetClient.cppexpanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT':
      ^20:12:
In file included from :
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \

                                      ^../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h
:25772:39:: 5:../../../source/network/NetClient.h :24note:
: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
errorIn file included from ../../../source/scriptinterface/ScriptInterface.h:25  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^: :

In file included from statement not allowed in constexpr function
../../../source/scriptinterface/ScriptTypes.h:63:
In file included from     MOZ_RELEASE_ASSERT(lhs.span_ == rhs.span_);
    ^
../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:In file included from ../../../source/network/NetFileTransfer.cpp:2577:::235:
 :In file included from  ../../../source/network/NetMessage.h:26error:
: noteIn file included from ../../../source/network/NetMessages.h:statement not allowed in constexpr function: In file included from expanded from macro 'MOZ_RELEASE_ASSERT'

../../../source/network/NetClientTurnManager.cpp:20:
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
    MOZ_RELEASE_ASSERT(lhs.span_ == rhs.span_);In file included from ../../../source/network/NetClientTurnManager.h27
      ^
    ^:
:
In file included from 21:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h../../../source/scriptinterface/ScriptTypes.hIn file included from :72../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h::459::7:39../../../source/simulation2/system/TurnManager.h: note63: :
:expanded from macro 'MOZ_RELEASE_ASSERT'22
 :
noteIn file included from : expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'../../../source/simulation2/helpers/SimulationCommand.h
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \In file included from :
../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h21      ^  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
:
In file included from ../../../source/scriptinterface/ScriptInterface.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:
::                                      ^1525:
:
In file included from 
In file included from ../../../source/scriptinterface/ScriptTypes.h:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h63:39:
:12 In file included from :
note: ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h::15expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT':

In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:257:2575:5:  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \:
 error                                       ^error
: : statement not allowed in constexpr function
statement not allowed in constexpr function
    MOZ_RELEASE_ASSERT(lhs.span_ == rhs.span_);
    ^
    MOZ_RELEASE_ASSERT(lhs.span_ == rhs.span_);
    ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:7: note: ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:7: note: expanded from macro 'MOZ_RELEASE_ASSERT'
expanded from macro 'MOZ_RELEASE_ASSERT'
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:39: note: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
:72:39:  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
 note: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
In file included from ../../../source/network/NetClient.cppIn file included from ../../../source/network/NetClientTurnManager.cpp:20:20:
In file included from :
In file included from ../../../source/network/NetClientTurnManager.h:21../../../source/network/NetClient.hIn file included from ../../../source/network/NetFileTransfer.cpp:In file included from :
In file included from ../../../source/network/NetHost.cpp::23../../../source/simulation2/system/TurnManager.h23::
In file included from 24../../../source/network/NetMessage.h:
In file included from :
In file included from :2226../../../source/network/NetMessage.h:
In file included from :../../../source/scriptinterface/ScriptInterface.h::
../../../source/simulation2/helpers/SimulationCommand.hIn file included from 26../../../source/network/NetMessages.h25::
::
In file included from In file included from ../../../source/scriptinterface/ScriptTypes.h:2163:
:
In file included from 27../../../source/scriptinterface/ScriptInterface.hIn file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15:../../../source/network/NetMessages.h:
:2527:
In file included from :
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12In file included from :
In file included from ../../../source/scriptinterface/ScriptTypes.h:
:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:In file included from 63../../../source/scriptinterface/ScriptTypes.h:../../../source/scriptinterface/ScriptTypes.h:
:In file included from 308:635:63:
 :
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.herrorIn file included from :../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:: ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.hstatement not allowed in constexpr constructor
:15:
1515    MOZ_RELEASE_ASSERT(ext.size() == Ext);:
:

In file included from In file included from     ^../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h
:12:12:
:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:308../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h::5308In file included from : :../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.herror:12: :
:statement not allowed in constexpr constructor../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h459:5
7:: :    MOZ_RELEASE_ASSERT(ext.size() == Ext);note308:5: : error: expanded from macro 'MOZ_RELEASE_ASSERT'statement not allowed in constexpr constructor

 error: statement not allowed in constexpr constructor
    ^    MOZ_RELEASE_ASSERT(ext.size() == Ext);
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \

      ^
    ^

../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:39: ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.hnote::459:    MOZ_RELEASE_ASSERT(ext.size() == Ext);459: 
7: :expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'note
: 7expanded from macro 'MOZ_RELEASE_ASSERT'
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^:    ^
 note:       MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
expanded from macro 'MOZ_RELEASE_ASSERT'

../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:39:       MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \note
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h      ^:459
: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:39: note  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \:
:                                       ^7expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT':In file included from  note: 
expanded from macro 'MOZ_RELEASE_ASSERT'

../../../source/network/NetClient.cpp:20:
In file included from ../../../source/network/NetClient.h      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \:24:
In file included from 
      ^
                                      ^../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72../../../source/scriptinterface/ScriptInterface.h
:25:39: note: :
In file included from ../../../source/scriptinterface/ScriptTypes.h:63:
In file included from In file included from ../../../source/network/NetFileTransfer.cpp:../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'23
:
15:
In file included from In file included from   MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
In file included from ../../../source/network/NetClientTurnManager.cpp:../../../source/network/NetMessage.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:26:
In file included from 20:12../../../source/network/NetMessages.h:
:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:312:275:
:
:In file included from  ../../../source/scriptinterface/ScriptTypes.h:error63: statement not allowed in constexpr constructor
In file included from :
In file included from ../../../source/network/NetClientTurnManager.h    MOZ_RELEASE_ASSERT(length == Ext);../../../source/network/NetHost.cpp:23
:    ^:
21:
In file included from In file included from 
../../../source/simulation2/system/TurnManager.hIn file included from :22:
In file included from ../../../source/simulation2/helpers/SimulationCommand.h:../../../source/network/NetMessage.h:../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h21::
15:
26:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.hIn file included from In file included from :In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h../../../source/network/NetMessages.h:459:12:27:
:
In file included from ../../../source/scriptinterface/ScriptInterface.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h::7../../../source/scriptinterface/ScriptTypes.h25312:
:63: In file included from :../../../source/scriptinterface/ScriptTypes.h:
note: 5expanded from macro 'MOZ_RELEASE_ASSERT'
:In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h: error      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
: 15:
      ^
statement not allowed in constexpr constructorIn file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h
:63:
In file included from     MOZ_RELEASE_ASSERT(length == Ext);
    ^
../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:459:15:
In file included from 72::39../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:7:: 12:
 :12../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.hnotenote: : :312expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
expanded from macro 'MOZ_RELEASE_ASSERT':5:

:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h: 312error      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \:5  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
:                                       ^:

statement not allowed in constexpr constructor
       ^
error:     MOZ_RELEASE_ASSERT(length == Ext);statement not allowed in constexpr constructor
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h
    ^
:72:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h39:    MOZ_RELEASE_ASSERT(length == Ext);459
:: 7note    ^:: 
 note: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'expanded from macro 'MOZ_RELEASE_ASSERT'

../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
7: note: expanded from macro 'MOZ_RELEASE_ASSERT'
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:39: note: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:39: note: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
In file included from ../../../source/network/NetClientTurnManager.cppIn file included from :../../../source/network/NetFileTransfer.cppIn file included from :../../../source/network/NetClient.cpp:2023:
:
20In file included from In file included from ../../../source/network/NetClient.h../../../source/network/NetMessage.h::2624:
:
In file included from In file included from :
In file included from ../../../source/network/NetMessages.h../../../source/scriptinterface/ScriptInterface.hIn file included from :27:
../../../source/network/NetHost.cpp:In file included from :25:
../../../source/network/NetClientTurnManager.h../../../source/scriptinterface/ScriptTypes.h:6323:
::
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:In file included from In file included from 15../../../source/network/NetMessage.h21:26../../../source/scriptinterface/ScriptTypes.h:
:63:
In file included from :
:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.hIn file included from :In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h../../../source/network/NetMessages.h:In file included from 27:15:
:
In file included from ../../../source/simulation2/system/TurnManager.h:22:
12../../../source/scriptinterface/ScriptTypes.h:
In file included from ../../../source/simulation2/helpers/SimulationCommand.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:63::In file included from 21../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h586::
:
:5:12:
In file included from ../../../source/scriptinterface/ScriptInterface.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h In file included from ::../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:2515:
:
In file included from In file included from error: 586statement not allowed in constexpr function
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:../../../source/scriptinterface/ScriptTypes.h:12:    MOZ_RELEASE_ASSERT(Count <= size());5:
63
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:     ^:
586::
In file included from 5../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:: 15:error459: error:statement not allowed in constexpr function
: 7statement not allowed in constexpr function:

    MOZ_RELEASE_ASSERT(Count <= size());:In file included from 
     MOZ_RELEASE_ASSERT(Count <= size());../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.hnote    ^:
12:

: ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.hexpanded from macro 'MOZ_RELEASE_ASSERT':    ^:
586
:5:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459 459:error7: :statement not allowed in constexpr function
 :      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \note7: 
expanded from macro 'MOZ_RELEASE_ASSERT':     MOZ_RELEASE_ASSERT(Count <= size());
note:     ^expanded from macro 'MOZ_RELEASE_ASSERT'
      ^


../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \

459      ^
72      ^../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:
:39:7../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h: note:72::72 note39: : : expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'expanded from macro 'MOZ_RELEASE_ASSERT':
note
: 39:expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
   MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \note

  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \                                      ^: 

                                      ^      ^expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'

../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h
:72:39  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
: note: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
In file included from ../../../source/network/NetFileTransfer.cpp:23:
In file included from ../../../source/network/NetMessage.hIn file included from ../../../source/network/NetClient.cpp::In file included from 26:
In file included from ../../../source/network/NetHost.cpp:../../../source/network/NetMessages.h:2720:
:
In file included from In file included from ../../../source/scriptinterface/ScriptTypes.h../../../source/network/NetClient.h23::
:In file included from ../../../source/network/NetClientTurnManager.cpp63In file included from 24../../../source/network/NetMessage.h:
::
In file included from ../../../source/scriptinterface/ScriptInterface.h:In file included from 26../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:
:25In file included from :
:In file included from ../../../source/network/NetMessages.h15:
In file included from ../../../source/scriptinterface/ScriptTypes.h:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:63:
:122720:
:
In file included from In file included from :
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h../../../source/scriptinterface/ScriptTypes.h../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h::63::
59615In file included from :../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:5:In file included from 15../../../source/network/NetClientTurnManager.h::
:
In file included from 21In file included from :
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h: 12../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.herror:
:../../../source/simulation2/system/TurnManager.h:: ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h12:statement not allowed in constexpr function
596:
:5:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h    MOZ_RELEASE_ASSERT(Count <= len); :22error:
596:: In file included from 5: error../../../source/simulation2/helpers/SimulationCommand.h
:21: statement not allowed in constexpr function    ^

:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:statement not allowed in constexpr function    MOZ_RELEASE_ASSERT(Count <= len);

459    ^
:7../../../source/scriptinterface/ScriptInterface.h:    MOZ_RELEASE_ASSERT(Count <= len);../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:
25459    ^
:::
7 note: :In file included from  ../../../source/scriptinterface/ScriptTypes.h:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.hexpanded from macro 'MOZ_RELEASE_ASSERT'
note:: 63expanded from macro 'MOZ_RELEASE_ASSERT'459
:7      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
:
In file included from :      ^../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h
:15../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \ note:
In file included from 
72:39:       ^:expanded from macro 'MOZ_RELEASE_ASSERT'../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h
 
:note: ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h12:72      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \:
expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h

:      ^39
:  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \ ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:note72
:                                      ^:59639:
:  noteexpanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT':: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'

5: error:   MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^statement not allowed in constexpr function

  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
    MOZ_RELEASE_ASSERT(Count <= len);
    ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:7: note: expanded from macro 'MOZ_RELEASE_ASSERT'
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:39: note: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'In file included from ../../../source/network/NetFileTransfer.cpp:
23:
In file included from ../../../source/network/NetMessage.h:26:
In file included from ../../../source/network/NetMessages.h:27:
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \In file included from 
                                      ^In file included from 
../../../source/network/NetHost.cpp:In file included from ../../../source/scriptinterface/ScriptTypes.h:../../../source/network/NetClient.cpp23:20:
:
In file included from In file included from 63../../../source/network/NetClient.h::
../../../source/network/NetMessage.hIn file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h::2426:
15In file included from :
:
In file included from In file included from ../../../source/scriptinterface/ScriptInterface.h../../../source/network/NetMessages.h::27../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h25:12:
:
In file included from ../../../source/scriptinterface/ScriptTypes.h:In file included from ../../../source/scriptinterface/ScriptTypes.h::
63:
In file included from 63../../../source/network/NetClientTurnManager.cpp::
In file included from 20In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h::60615:
:
:In file included from 155In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h../../../source/network/NetClientTurnManager.h:: error: 12:statement not allowed in constexpr function21:

:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h../../../source/simulation2/system/TurnManager.h    MOZ_RELEASE_ASSERT(Offset <= len &&:22:

:
In file included from     ^In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h
:606:../../../source/simulation2/helpers/SimulationCommand.h:5:21:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h12:
:
 In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h../../../source/scriptinterface/ScriptInterface.h:::error606: :5:statement not allowed in constexpr function25 :

In file included from error../../../source/scriptinterface/ScriptTypes.h:: 459:    MOZ_RELEASE_ASSERT(Offset <= len &&7:63 statement not allowed in constexpr function
:
In file included from note: ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:expanded from macro 'MOZ_RELEASE_ASSERT'

    ^
15:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12    MOZ_RELEASE_ASSERT(Offset <= len &&../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:
:
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:459:
    ^7
      ^
:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h :../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h606note:5459::72 :: 7error::expanded from macro 'MOZ_RELEASE_ASSERT' note: : expanded from macro 'MOZ_RELEASE_ASSERT'
39
statement not allowed in constexpr function
: note:       MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \    MOZ_RELEASE_ASSERT(Offset <= len &&expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'


    ^
      ^
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h
      ^:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h
:                                      ^../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h
:7245972::39:397:::   notenotenote: : expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
: expanded from macro 'MOZ_RELEASE_ASSERT'
expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h                                      ^../../../source/network/NetFileTransfer.cpp:
23:
In file included from ../../../source/network/NetMessage.h:26:
In file included from ../../../source/network/NetMessages.h:27:
In file included from ../../../source/scriptinterface/ScriptTypes.h:63:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12In file included from ../../../source/network/NetHost.cpp:23::
72:39: :
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:615note: :In file included from 5../../../source/network/NetClient.cppexpanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
:In file included from ../../../source/network/NetMessage.h:: error2620: :
statement not allowed in constexpr function  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \:
In file included from In file included from ../../../source/network/NetClient.h
:../../../source/network/NetMessages.h24    MOZ_RELEASE_ASSERT(aCount <= size());
:
    ^In file included from 
../../../source/scriptinterface/ScriptInterface.h:                                      ^:2527:


In file included from ../../../source/scriptinterface/ScriptTypes.h:63:
In file included from :
../../../source/scriptinterface/ScriptTypes.hIn file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h::63:459:
:7: In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:note: 1515:
:
expanded from macro 'MOZ_RELEASE_ASSERT'In file included from 
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h::../../../source/network/NetClientTurnManager.cpp      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \12:
:
615../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:      ^
:5:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h20::
In file included from 72:61539:../../../source/network/NetClientTurnManager.h5:  error:: statement not allowed in constexpr function
21::
In file included from error    MOZ_RELEASE_ASSERT(aCount <= size());
 note: statement not allowed in constexpr function    ^: 
expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'../../../source/simulation2/system/TurnManager.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h

:22:
In file included from :../../../source/simulation2/helpers/SimulationCommand.h459:21::
7:    MOZ_RELEASE_ASSERT(aCount <= size());
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
 noteIn file included from     ^:                                       ^expanded from macro 'MOZ_RELEASE_ASSERT'


../../../source/scriptinterface/ScriptInterface.h:25:
In file included from ../../../source/scriptinterface/ScriptTypes.h      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:63
:
      ^In file included from :../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:459:7:15
:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h :note: ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h12::
72expanded from macro 'MOZ_RELEASE_ASSERT':
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h39:In file included from : 615:../../../source/network/NetFileTransfer.cpp:23note5:
In file included from       MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \:
      ^: ../../../source/network/NetMessage.h
expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
 ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:error:26: statement not allowed in constexpr function  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \:

In file included from ../../../source/network/NetMessages.h72
:    MOZ_RELEASE_ASSERT(aCount <= size());:39
27                                      ^:
    ^:
In file included from 
../../../source/scriptinterface/ScriptTypes.h:63:
 In file included from note../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h: :expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
459:7../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
15::
                                      ^ 
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:624:5: error: statement not allowed in constexpr function
In file included from note:     MOZ_RELEASE_ASSERT(aCount <= len);
expanded from macro 'MOZ_RELEASE_ASSERT'../../../source/network/NetClient.cpp
    ^:20:

In file included from ../../../source/network/NetClient.h      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h
:459      ^
::../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h724:::
 72noteIn file included from : :39../../../source/scriptinterface/ScriptInterface.h: In file included from note../../../source/network/NetHost.cpp: :23expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
:
In file included from ../../../source/network/NetMessage.h:expanded from macro 'MOZ_RELEASE_ASSERT'
26:25:
In file included from ../../../source/network/NetMessages.h::
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \27:
In file included from In file included from 
../../../source/scriptinterface/ScriptTypes.h:../../../source/scriptinterface/ScriptTypes.h  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^63:
In file included from 
../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h::63      ^:

In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h15../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:
:15::
72In file included from In file included from :39../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h::../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h 12note:
:: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'12
:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:624../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \:
In file included from                                       ^
../../../source/network/NetClientTurnManager.cpp:205624::5 error::
 In file included from ../../../source/network/NetClientTurnManager.h: :21:
errorIn file included from : statement not allowed in constexpr functionstatement not allowed in constexpr function

../../../source/simulation2/system/TurnManager.h:22:
In file included from     MOZ_RELEASE_ASSERT(aCount <= len);../../../source/simulation2/helpers/SimulationCommand.h:21:
In file included from     MOZ_RELEASE_ASSERT(aCount <= len);
../../../source/scriptinterface/ScriptInterface.h
    ^    ^
:25:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.hIn file included from ../../../source/scriptinterface/ScriptTypes.hIn file included from ../../../source/network/NetFileTransfer.cpp
:::63:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h23459:459::
77:::  note: 15In file included from :
expanded from macro 'MOZ_RELEASE_ASSERT'
../../../source/network/NetMessage.h:note: In file included from 26expanded from macro 'MOZ_RELEASE_ASSERT'
:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \../../../source/network/NetMessages.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h
::624      ^:
5:      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h      ^27:
:72In file included from  ../../../source/scriptinterface/ScriptTypes.h::39:error note: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
: 63:
In file included from 
statement not allowed in constexpr function
../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \:7215
:
    MOZ_RELEASE_ASSERT(aCount <= len);In file included from                                       ^
:
    ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
39../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h: :note: 459:7634:expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'5
:: error note: :   MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \statement not allowed in constexpr function

                                      ^
expanded from macro 'MOZ_RELEASE_ASSERT'
    MOZ_RELEASE_ASSERT(aStart <= len && (aLength == dynamic_extent ||
    ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:7: note: expanded from macro 'MOZ_RELEASE_ASSERT'
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
In file included from       MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72../../../source/network/NetHost.cpp
:39: :      ^note
23:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:: In file included from expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
72:39:   MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
note: ../../../source/network/NetMessage.h                                      ^:26
expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT':

In file included from ../../../source/network/NetMessages.h:27In file included from :
../../../source/network/NetClient.cpp:  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \20
                                      ^
In file included from :
In file included from ../../../source/scriptinterface/ScriptTypes.h:63:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:634:5: error: statement not allowed in constexpr function
../../../source/network/NetClient.h:24:
In file included from ../../../source/scriptinterface/ScriptInterface.h:25    MOZ_RELEASE_ASSERT(aStart <= len && (aLength == dynamic_extent ||In file included from 
../../../source/network/NetClientTurnManager.cpp    ^
:
:20../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:In file included from In file included from 459:
In file included from :../../../source/network/NetClientTurnManager.h../../../source/network/NetFileTransfer.cpp:7../../../source/scriptinterface/ScriptTypes.h:21 :note23: :
In file included from :../../../source/simulation2/system/TurnManager.hexpanded from macro 'MOZ_RELEASE_ASSERT'63:
:

In file included from :../../../source/network/NetMessage.h22:
In file included from       MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:
../../../source/simulation2/helpers/SimulationCommand.h:      ^:211526:
:
In file included from 
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:
::1272:
../../../source/scriptinterface/ScriptInterface.h:In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h39../../../source/network/NetMessages.h:::63425:
:5:27:
In file included from In file included from ../../../source/scriptinterface/ScriptTypes.h::63  ../../../source/scriptinterface/ScriptTypes.h:
noteIn file included from :: error: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'63../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h
:statement not allowed in constexpr function:

In file included from 15  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h
                                      ^:
:In file included from 15    MOZ_RELEASE_ASSERT(aStart <= len && (aLength == dynamic_extent ||
:
In file included from 
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h::
12../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h::660634    ^
::5../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:: 459error:5: :7 errorstatement not allowed in constexpr function: 
statement not allowed in constexpr function
: note:     MOZ_RELEASE_ASSERT(aStart <= len && (aLength == dynamic_extent ||
expanded from macro 'MOZ_RELEASE_ASSERT'    MOZ_RELEASE_ASSERT(aStart <= aEnd);    ^


    ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \In file included from 
      ^459../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:../../../source/network/NetHost.cpp7
:23::../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:459:
:72 In file included from 7../../../source/network/NetMessage.hnote:26:: :
39:In file included from : expanded from macro 'MOZ_RELEASE_ASSERT'note 
../../../source/network/NetMessages.hnote: :: expanded from macro 'MOZ_RELEASE_ASSERT'
27expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
:

      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \In file included from 
../../../source/scriptinterface/ScriptTypes.h      ^
:63:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:::
15                                      ^
72:72::
39In file included from :39 : ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.hnote:note: 12: :
expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:660:5  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT':                                      ^ 
error: 
statement not allowed in constexpr function
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
    MOZ_RELEASE_ASSERT(aStart <= aEnd);In file included from ../../../source/network/NetClient.cpp:20:
In file included from ../../../source/network/NetClient.h:
    ^
24:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:../../../source/scriptinterface/ScriptInterface.h:25:
In file included from ../../../source/scriptinterface/ScriptTypes.h:63:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15:
In file included from ../../../source/network/NetClientTurnManager.cpp:7In file included from 20../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
: ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:
:In file included from ../../../source/network/NetClientTurnManager.h:21note660:
:In file included from ../../../source/simulation2/system/TurnManager.h: :expanded from macro 'MOZ_RELEASE_ASSERT'
22:
In file included from ../../../source/simulation2/helpers/SimulationCommand.h:215      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \:
:
       ^
error: statement not allowed in constexpr function../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.hIn file included from 
../../../source/scriptinterface/ScriptInterface.h::72    MOZ_RELEASE_ASSERT(aStart <= aEnd);
25    ^:
In file included from :../../../source/scriptinterface/ScriptTypes.h39:
:In file included from  ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.hnote:../../../source/network/NetFileTransfer.cpp: 459:637expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT':23:

In file included from ../../../source/network/NetMessage.h::
In file included from :../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h26:  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
15:
In file included from ../../../source/network/NetMessages.h                                      ^ 
:
:In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h27:
note:: 12In file included from :
../../../source/scriptinterface/ScriptTypes.h:expanded from macro 'MOZ_RELEASE_ASSERT'../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h63::
660
In file included from :5: error: statement not allowed in constexpr function
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^    MOZ_RELEASE_ASSERT(aStart <= aEnd);
../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h
:15:
    ^In file included from 
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h::39459::712:: :
note../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:: 700expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
:5: error  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \: statement not allowed in constexpr function
 note: expanded from macro 'MOZ_RELEASE_ASSERT'

In file included from                                       ^
../../../source/network/NetHost.cpp    MOZ_RELEASE_ASSERT(idx < storage_.size());
    ^
:23:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \In file included from :
459../../../source/network/NetMessage.h:7:: 26      ^note:

: In file included from expanded from macro 'MOZ_RELEASE_ASSERT'../../../source/network/NetMessages.h:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h
27:
In file included from :72:../../../source/scriptinterface/ScriptTypes.h39:63:
:In file included from        MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \note
      ^../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h
:15: ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:
expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h
:39:   MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
:                                      ^12note
:
: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:700:5: error:   MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
In file included from ../../../source/network/NetClient.cpp:20:
In file included from ../../../source/network/NetClient.h:24:
In file included from ../../../source/scriptinterface/ScriptInterface.h:25:
In file included from ../../../source/scriptinterface/ScriptTypes.h:63:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:700:5: error: statement not allowed in constexpr function
statement not allowed in constexpr function
    MOZ_RELEASE_ASSERT(idx < storage_.size());
    ^
    MOZ_RELEASE_ASSERT(idx < storage_.size());
    ^../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459
:7:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459 note: :7:expanded from macro 'MOZ_RELEASE_ASSERT'
 note: expanded from macro 'MOZ_RELEASE_ASSERT'
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
In file included from ../../../source/network/NetClientTurnManager.cpp:20:
      ^
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h../../../source/network/NetClientTurnManager.h:
21In file included from :../../../source/network/NetFileTransfer.cpp::
      ^
72:In file included from ../../../source/simulation2/system/TurnManager.h:23:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:3972:In file included from 39:../../../source/network/NetMessage.h:2226 :
:
In file included from : ../../../source/simulation2/helpers/SimulationCommand.hnotenoteIn file included from :: ../../../source/network/NetMessages.h: :expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
27:

21:
In file included from In file included from   MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \../../../source/scriptinterface/ScriptTypes.h../../../source/scriptinterface/ScriptInterface.h:63:
:  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
25In file included from :
../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:In file included from                                       ^
15../../../source/scriptinterface/ScriptTypes.h:

:In file included from                                       ^../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:
12:
63:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:760:7: error: ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:700:5: error: statement not allowed in constexpr function
statement not allowed in constexpr constructor
    MOZ_RELEASE_ASSERT(idx < storage_.size());      MOZ_RELEASE_ASSERT(
      ^

    ^../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:7: note: expanded from macro 'MOZ_RELEASE_ASSERT'

../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
459../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:7::39: note:  In file included from note: expanded from macro 'MOZ_RELEASE_ASSERT'../../../source/network/NetClient.cppIn file included from 
../../../source/network/NetHost.cpp:20expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
:23:
:
In file included from ../../../source/network/NetClient.h:In file included from ../../../source/network/NetMessage.h24:
:In file included from   MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
../../../source/scriptinterface/ScriptInterface.h
:      ^                                      ^

2526:
:
In file included from ../../../source/scriptinterface/ScriptTypes.h:../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:In file included from ../../../source/network/NetMessages.h:6372:
:In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h3927::
In file included from : 15:
../../../source/scriptinterface/ScriptTypes.hIn file included from :note63: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
:
In file included from :../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h12:
                                      ^../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:
:12:
760:7: error: ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:760:7: error: statement not allowed in constexpr constructor
statement not allowed in constexpr constructor
      MOZ_RELEASE_ASSERT(
      ^
      MOZ_RELEASE_ASSERT(
      ^../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459
:7: note: ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:7: note: expanded from macro 'MOZ_RELEASE_ASSERT'
expanded from macro 'MOZ_RELEASE_ASSERT'
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:72:39: note: :39: note: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
In file included from ../../../source/network/NetClientTurnManager.cpp:20:
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
In file included from   MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \                                      ^
                                      ^../../../source/network/NetClientTurnManager.h
:21
:
In file included from ../../../source/simulation2/system/TurnManager.h:22:
In file included from ../../../source/simulation2/helpers/SimulationCommand.h:21:
In file included from ../../../source/scriptinterface/ScriptInterface.h:25:
In file included from ../../../source/scriptinterface/ScriptTypes.h:63:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/jsapi.h:15:
In file included from ../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Range.h:12:
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Span.h:760:7: error: statement not allowed in constexpr constructor
      MOZ_RELEASE_ASSERT(
      ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/Assertions.h:459:7: note: expanded from macro 'MOZ_RELEASE_ASSERT'
      MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
      ^
../../../libraries/source/spidermonkey/include-unix-debug/mozilla/MacroArgs.h:72:39: note: expanded from macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
  MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(MOZ_CONCAT,    \
                                      ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
fatal error: too many errors emitted, stopping now [-ferror-limit=]
fatal error: too many errors emitted, stopping now [-ferror-limit=]
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
20 errors generated.
make[1]: *** [obj/network_Debug/NetHost.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [obj/network_Debug/NetFileTransfer.o] Error 1
20 errors generated.
make[1]: *** [obj/network_Debug/NetClient.o] Error 1
20 errors generated.
make[1]: *** [obj/network_Debug/NetClientTurnManager.o] Error 1
make: *** [network] Error 2

Link to build: https://jenkins.wildfiregames.com/job/macos-differential/2044/display/redirect

Build failure - The Moirai have given mortals hearts that can endure.

builderr-debug-gcc6.txt
../../../source/simulation2/serialization/BinarySerializer.cpp: In member function 'void CBinarySerializerScriptImpl::HandleScriptVal(JS::HandleValue)':
../../../source/simulation2/serialization/BinarySerializer.cpp:71:7: error: 'JSTYPE_VOID' was not declared in this scope
  case JSTYPE_VOID:
       ^~~~~~~~~~~
In file included from ../../../source/scriptinterface/ScriptInterface.h:486:0,
                 from ../../../source/simulation2/system/ComponentManager.h:22,
                 from ../../../source/simulation2/system/Component.h:23,
                 from ../../../source/pch/simulation2/precompiled.h:29:
../../../source/scriptinterface/NativeWrapperDefns.h: In member function 'bool ScriptInterface::CallFunction(JS::HandleValue, const char*, JS::Rooted<T>*, const Ts& ...) const [with R = JS::Value; Ts = {}]':
../../../source/scriptinterface/NativeWrapperDefns.h:196:2: warning: ignoring return value of 'bool js::MutableWrappedPtrOperations<JS::GCVector<T, Capacity, AllocPolicy>, Wrapper>::resize(size_t) [with Wrapper = JS::Rooted<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy> >; T = JS::Value; long unsigned int Capacity = 8ul; AllocPolicy = js::TempAllocPolicy]', declared with attribute warn_unused_result [-Wunused-result]
  (void)argv.resize(sizeof...(Ts));
  ^
make[1]: *** [obj/simulation2_Debug/BinarySerializer.o] Error 1
make: *** [simulation2] Error 2

Link to build: https://jenkins.wildfiregames.com/job/docker-differential/3699/display/redirect