Jump to content

Bug Report: platformNet.cpp Error in Build


thirtygreen

Recommended Posts

While trying to build my project. I get an ERROR message as follows...

platformNet.cpp.o -c /home/thirtygreen/Install2/Torque3D-4.0.3/Engine/source/platform/platformNet.cpp
/home/thirtygreen/Install2/Torque3D-4.0.3/Engine/source/platform/platformNet.cpp:
In function ‘PlatformNetState::addrinfo* PlatformNetState::pickAddressByProtocol(addrinfo*, int)’:
/home/thirtygreen/Install2/Torque3D-4.0.3/Engine/source/platform/platformNet.cpp:218:39: error: invalid use of incomplete type ‘struct PlatformNetState::addrinfo’
  218 |       for (; addr != NULL; addr = addr->ai_next)
           |                                                                        ^~
compilation terminated due to -Wfatal-errors.

The smallest error in the code "->" addr->ai_next
                                                                                 ..

I haven't edited the source code at all. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...