Skip to content

Code error #28

@TheHackingToaster

Description

@TheHackingToaster

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions