Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile "World" script module - Multiple declaration of function 'CTRL' #30

Open
matellis opened this issue Dec 28, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@matellis
Copy link

matellis commented Dec 28, 2018

Dayz is throwing an error on startup with this mod. The dialog says:

Can't compile 'World' script module!
   
JM/COT/Scripts/4_World/staticfunctions.c(366): Multiple declaration of function 'CTRL'`

In addons/DayZ-SA-Tomato/scripts/4_World/COMCam.c the CTRL function is repeated, with a comment "static functions arent scope global?"

Even when I comment this function out I get the error. A grep shows the PBO file contains the word "CTRL" so (knowing very little about PBO files) I suspect the duplicate function is also in there and my edits do very little.

tl;dr> Looks like static functions are now scope global and one version of CTRL has to go!

@matellis matellis added the bug Something isn't working label Dec 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant