For some reason since aafc1d4, macOS compile seems to give this weird fatal error Too many open files after some closer inspection, it seems that Terminal.app is defaulting the ulimit -n to 256 which hxcpp seems to not like, VSCode seems to default it to a much bigger value, after doing ulimit -n 512 the fatal error completely disappeared, i think the best solution in this case is to make the BuildTool set ulimit -n to a bigger value if the current value is too small.
I have to mention that im encountering all this on macOS Tahoe 26.5.2 on a MacBook Pro M5.
For some reason since aafc1d4,
macOScompile seems to give this weird fatal errorToo many open filesafter some closer inspection, it seems thatTerminal.appis defaulting theulimit -nto 256 whichhxcppseems to not like,VSCodeseems to default it to a much bigger value, after doingulimit -n 512the fatal error completely disappeared, i think the best solution in this case is to make theBuildToolsetulimit -nto a bigger value if the current value is too small.I have to mention that im encountering all this on
macOSTahoe 26.5.2 on aMacBook Pro M5.