Josh
Josh

Reputation: 69

Error from gcc compiler

What does the following error mean:

In function `get_ints`:
`l` undeclared (first use in this function)

Thanks, Josh

Upvotes: 0

Views: 144

Answers (2)

Nikolai Fetissov
Nikolai Fetissov

Reputation: 84169

The compiler complains about variable l being undeclared. Just from experience - check your integer constants, there's a chance you have l instead of 1 somewhere there.

Upvotes: 4

Matthew Iselin
Matthew Iselin

Reputation: 10670

You used l somewhere and didn't define it.

Upvotes: 1

Related Questions