Skip to content

3.10.1 wrong warning 208 for tags #138

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

Closed
ziggi opened this issue Jan 25, 2017 · 2 comments
Closed

3.10.1 wrong warning 208 for tags #138

ziggi opened this issue Jan 25, 2017 · 2 comments

Comments

@ziggi
Copy link
Contributor

ziggi commented Jan 25, 2017

Code

new Tag:var;

main() {
	test(var);
}

test(Tag:a)
{

}

Result

Pawn compiler 3.10.1	 	 	Copyright (c) 1997-2006, ITB CompuPhase

sources/default.pwn(7) : warning 208: function with tag result or global variables as arguments is used before definition, forcing reparse
sources/default.pwn(7) : warning 203: symbol is never used: "a"
Header size:             60 bytes
Code size:               68 bytes
Data size:                4 bytes
Stack/heap size:      16384 bytes; estimated max. usage=7 cells (28 bytes)
Total requirements:   16516 bytes

2 Warnings.

warning 208 is wrong.

I thing what this problem comes after 25b21eb

@ziggi
Copy link
Contributor Author

ziggi commented Jan 25, 2017

Sorry, i'm blind #131

@ziggi ziggi closed this as completed Jan 25, 2017
@Zeex
Copy link
Contributor

Zeex commented Jan 26, 2017

My bad, I should have written proper release notes. I have updated them now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants