SC2Mapster Wiki
Explore
Main Page
All Pages
Interactive Maps
navigation
Main page
Community portal
Recent changes
Random page
Help
SC2MAPSTER
News
Maps
Assets
Teams
Authors
Forums
Paste
Gamepedia
Gamepedia support
Report a bad ad
Help Wiki
Contact us
FANDOM
Fan Central
BETA
Games
Anime
Movies
TV
Video
Wikis
Explore Wikis
Community Central
Start a Wiki
Don't have an account?
Register
Sign In
Sign In
Register
SC2Mapster Wiki
1,003
pages
Explore
Main Page
All Pages
Interactive Maps
navigation
Main page
Community portal
Recent changes
Random page
Help
SC2MAPSTER
News
Maps
Assets
Teams
Authors
Forums
Paste
Gamepedia
Gamepedia support
Report a bad ad
Help Wiki
Contact us
Editing
Errors/Debugging
(section)
Back to page
Edit
VisualEditor
View history
Talk (0)
Edit Page
Errors/Debugging
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===struct forward declaration not supported=== Galaxy does not support separating the declaration and definition of structs. The presence of this error hints of a purposeful design decision to not support the feature. ====Example==== Using a forward declaration of a struct so that it can be used before being defined will generate this error. struct foo; // error : "struct forward declaration not supported" foo pre_foo; struct foo{ int bar; }; foo post_foo; There is no way to achieve this desired behavior in Galaxy. A workaround is to define structs at the same time they are declared. This unfortunately has a negative impact on the readability of your script header. struct foo{ int bar; }; foo pre_foo; foo post_foo;
Summary:
Please note that all contributions to the SC2Mapster Wiki are considered to be released under the CC BY-NC-SA
Cancel
Editing help
(opens in new window)
Follow on IG
TikTok
Join Fan Lab