--
You received this message because you are subscribed to the Google Groups "Sheffield Hackspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sheffield-hardware-...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sheffield-hardware-hackers/048e01c2-95e9-eacf-c60b-8be055142498%40gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sheffield-hardware-hackers/AM6PR03MB487293F3A966E4488EB59BFCA4A59%40AM6PR03MB4872.eurprd03.prod.outlook.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sheffield-hardware-hackers/AM6PR03MB48720781142614E12AF9DBB3A4A69%40AM6PR03MB4872.eurprd03.prod.outlook.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sheffield-hardware-hackers/AM6PR03MB487204BAB42ECE19E70FCEE9A4A79%40AM6PR03MB4872.eurprd03.prod.outlook.com.
The error makes no sense because it says size_t conflicts with size_t. Unless there are two different definitions of size_t, perhaps by mixing libraries from 8 bit platforms with 32 bit platforms.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sheffield-hardware-hackers/CAEEmnrNUHEzbgC1Kq4pTndQP3Ef08TQUXTD9-m36U_HjOEpqMA%40mail.gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sheffield-hardware-hackers/214cd07b-edc5-79c3-cd65-bb4045c7863b%40gmail.com.
virtual in the base class is what allows it to be overridden. read() normally returns -1 for errors, so it can't be size_t as that is unsigned. It used to be int but I think later versions use ssize_t for a signed size. It needs to match the return type of the virtual function in the base class.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sheffield-hardware-hackers/CAEEmnrNhjRnfZCsG3G4xChrwUg8WSJ9f0JAPhKpFH2ZBTXYq%3DA%40mail.gmail.com.