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

Error with QList and Sparkfun Thing Plus #14

Open
jesawyers opened this issue May 19, 2020 · 1 comment
Open

Error with QList and Sparkfun Thing Plus #14

jesawyers opened this issue May 19, 2020 · 1 comment

Comments

@jesawyers
Copy link

I am using QList for a list of float on a Sparkfun Redboard Turbo. QList works just fine.

I moved to a Sparkfun Thing Plus (ESP32) and I get the following error when I compile...

In file included from C:\Users\flightsim\OneDrive_ARDUINO\myWX_Thing\myWX_Thing.ino:4:0:

C:\Users\flightsim\Documents\Arduino\libraries\QList\src/QList.h: In member function 'T& >QList::at(unsigned int) [with T = float]':

C:\Users\flightsim\Documents\Arduino\libraries\QList\src/QList.h:239:1: error: control reaches end >of non-void function [-Werror=return-type]

}

^

cc1plus.exe: some warnings being treated as errors

I looked at the QList.h file and the QList::at function and didn't see anything obvious.

Any help would be appreciated.

@SloCompTech
Copy link
Owner

I probably have an idea, problem is that function doesn't return anything when index not found but it should. I probably haven't finished that part. Currently I don't have spare time to fix issue, but feel free to tweak library and PR changes.

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