Hi,
While trying to remove compiler warnings, we came across this warning:
Must be caused by the placed '(size_t)0' in following code:
static const struct BaseChannelVMT vmt = {
(size_t)0,
_write, _read, _put, _get,
_putt, _gett, _writet, _readt,
_ctl
};
Can you guys have a look?
Thanks,
AQ
- ChibiOS version: 18.2
- Compiler: gcc 5.4
- Platform and board: simulator
- Nature of the problem: Not tested
- Failure mode: Not tested
A bug in os/hal/ports/simulator/console.c? Topic is solved
- sabdulqadir
- Posts: 49
- Joined: Fri Mar 23, 2018 7:29 pm
- Has thanked: 13 times
- Been thanked: 4 times
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
- sabdulqadir
- Posts: 49
- Joined: Fri Mar 23, 2018 7:29 pm
- Has thanked: 13 times
- Been thanked: 4 times
Who is online
Users browsing this forum: Bing [Bot] and 58 guests