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

Code error #28

Open
TheHackingToaster opened this issue Jun 1, 2022 · 0 comments
Open

Code error #28

TheHackingToaster opened this issue Jun 1, 2022 · 0 comments

Comments

@TheHackingToaster
Copy link

When i try to compile the .cpp files it shows [{
"resource": "/c:/Users/User1/3D Objects/TrojanCockroach-master/com/minhaskamal/trojanCockroach/TrojanCockroach.cpp",
"owner": "cpptools",
"severity": 8,
"message": "return-statement with no value, in function returning 'int' [-fpermissive]",
"source": "gcc",
"startLineNumber": 72,
"startColumn": 5,
"endLineNumber": 72,
"endColumn": 5
}]
and
[{
"resource": "/c:/Users/Luis/3D Objects/TrojanCockroach-master/com/minhaskamal/trojanCockroach/TrojanCockroach.cpp",
"owner": "cpptools",
"severity": 4,
"message": "address of local variable 'randomName' returned [-Wreturn-local-addr]",
"source": "gcc",
"startLineNumber": 311,
"startColumn": 12,
"endLineNumber": 311,
"endColumn": 12
}]

Please fix this

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

1 participant