#9559: Out of bounds error in UserlandFSSserver.cpp causes GCC4 build to fail ------------------------------+--------------------------- Reporter: mounty | Owner: mmu_man Type: bug | Status: new Priority: high | Milestone: R1 Component: File Systems/NFS | Version: R1/alpha4.1 Keywords: | Blocked By: Blocking: | Has a Patch: 0 Platform: All | ------------------------------+--------------------------- Line 173: {{{ info->portInfos[0] = ... }}} fails to be compiled with GCC4 because the index is out of bounds. I don't understand this code. FSConnectReply::portInfos is of type Address which doesn't define operator [] and isn't an array so I don't know why GCC thinks it should be indexable at all. Sorry but I don't have time to investigate further. I've marked it as high priority because it's stopping building on GCC4. -- Ticket URL: <http://dev.haiku-os.org/ticket/9559> Haiku <http://dev.haiku-os.org> Haiku - the operating system.