You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qmk-fw/lib/lufa/LUFA/Drivers/USB/Class/Common
sameehj 03516d5460 gcc 8.10 compilation fix (#2914)
* Use memmove instead of memcpy

gcc 8.1 gives the following error:
lib/lufa/LUFA/Drivers/USB/Class/Common/HIDParser.c:93:5: error: 'memcpy' accessing 42 bytes at offsets 28 and 0 overlaps 14 bytes at offset 28 [-Werror=restrict]

This patch resolve this by using memmove instead

Signed-off-by: Sameeh <Sameeh Jubran>

* Remove ATTR_CONST from a void returning function

gcc 8.10 gives the following error when attempting to compile
lib/lufa/LUFA/Drivers/USB/Core/Events.h:334:5: error: 'const' attribute on function returning 'void' [-Werror=attributes]

Signed-off-by: Sameeh <Sameeh Jubran>
7 years ago
..
AndroidAccessoryClassCommon.h Merge commit '60b30c036397cb5627fa374bb930794b225daa29' as 'lib/lufa' 8 years ago
AudioClassCommon.h Merge commit '60b30c036397cb5627fa374bb930794b225daa29' as 'lib/lufa' 8 years ago
CDCClassCommon.h Merge commit '60b30c036397cb5627fa374bb930794b225daa29' as 'lib/lufa' 8 years ago
HIDClassCommon.h Merge commit '60b30c036397cb5627fa374bb930794b225daa29' as 'lib/lufa' 8 years ago
HIDParser.c gcc 8.10 compilation fix (#2914) 7 years ago
HIDParser.h Merge commit '60b30c036397cb5627fa374bb930794b225daa29' as 'lib/lufa' 8 years ago
HIDReportData.h Merge commit '60b30c036397cb5627fa374bb930794b225daa29' as 'lib/lufa' 8 years ago
MIDIClassCommon.h Merge commit '60b30c036397cb5627fa374bb930794b225daa29' as 'lib/lufa' 8 years ago
MassStorageClassCommon.h Merge commit '60b30c036397cb5627fa374bb930794b225daa29' as 'lib/lufa' 8 years ago
PrinterClassCommon.h Merge commit '60b30c036397cb5627fa374bb930794b225daa29' as 'lib/lufa' 8 years ago
RNDISClassCommon.h Merge commit '60b30c036397cb5627fa374bb930794b225daa29' as 'lib/lufa' 8 years ago
StillImageClassCommon.h Merge commit '60b30c036397cb5627fa374bb930794b225daa29' as 'lib/lufa' 8 years ago