Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Erik Strand
lufa
Commits
42ac34b4
Commit
42ac34b4
authored
Jul 18, 2010
by
Dean Camera
Browse files
Change over all makefiles to use C99 standards mode, rather than C99 + GNU Extensions.
parent
9299735c
Changes
70
Hide whitespace changes
Inline
Side-by-side
Bootloaders/CDC/makefile
View file @
42ac34b4
...
...
@@ -176,7 +176,7 @@ EXTRAINCDIRS = $(LUFA_PATH)/
# gnu89 = c89 plus GCC extensions
# c99 = ISO C99 standard (not yet fully implemented)
# gnu99 = c99 plus GCC extensions
CSTANDARD
=
-std
=
gnu
99
CSTANDARD
=
-std
=
c
99
# Place -D or -U options here for C sources
...
...
Bootloaders/DFU/makefile
View file @
42ac34b4
...
...
@@ -177,7 +177,7 @@ EXTRAINCDIRS = $(LUFA_PATH)/
# gnu89 = c89 plus GCC extensions
# c99 = ISO C99 standard (not yet fully implemented)
# gnu99 = c99 plus GCC extensions
CSTANDARD
=
-std
=
gnu
99
CSTANDARD
=
-std
=
c
99
# Place -D or -U options here for C sources
...
...
Demos/Device/ClassDriver/AudioInput/makefile
View file @
42ac34b4
...
...
@@ -179,7 +179,7 @@ EXTRAINCDIRS = $(LUFA_PATH)/
# gnu89 = c89 plus GCC extensions
# c99 = ISO C99 standard (not yet fully implemented)
# gnu99 = c99 plus GCC extensions
CSTANDARD
=
-std
=
gnu
99
CSTANDARD
=
-std
=
c
99
# Place -D or -U options here for C sources
...
...
Demos/Device/ClassDriver/AudioOutput/makefile
View file @
42ac34b4
...
...
@@ -179,7 +179,7 @@ EXTRAINCDIRS = $(LUFA_PATH)/
# gnu89 = c89 plus GCC extensions
# c99 = ISO C99 standard (not yet fully implemented)
# gnu99 = c99 plus GCC extensions
CSTANDARD
=
-std
=
gnu
99
CSTANDARD
=
-std
=
c
99
# Place -D or -U options here for C sources
...
...
Demos/Device/ClassDriver/DualVirtualSerial/makefile
View file @
42ac34b4
...
...
@@ -180,7 +180,7 @@ EXTRAINCDIRS = $(LUFA_PATH)/
# gnu89 = c89 plus GCC extensions
# c99 = ISO C99 standard (not yet fully implemented)
# gnu99 = c99 plus GCC extensions
CSTANDARD
=
-std
=
gnu
99
CSTANDARD
=
-std
=
c
99
# Place -D or -U options here for C sources
...
...
Demos/Device/ClassDriver/GenericHID/makefile
View file @
42ac34b4
...
...
@@ -181,7 +181,7 @@ EXTRAINCDIRS = $(LUFA_PATH)/
# gnu89 = c89 plus GCC extensions
# c99 = ISO C99 standard (not yet fully implemented)
# gnu99 = c99 plus GCC extensions
CSTANDARD
=
-std
=
gnu
99
CSTANDARD
=
-std
=
c
99
# Place -D or -U options here for C sources
...
...
Demos/Device/ClassDriver/Joystick/makefile
View file @
42ac34b4
...
...
@@ -181,7 +181,7 @@ EXTRAINCDIRS = $(LUFA_PATH)/
# gnu89 = c89 plus GCC extensions
# c99 = ISO C99 standard (not yet fully implemented)
# gnu99 = c99 plus GCC extensions
CSTANDARD
=
-std
=
gnu
99
CSTANDARD
=
-std
=
c
99
# Place -D or -U options here for C sources
...
...
Demos/Device/ClassDriver/Keyboard/makefile
View file @
42ac34b4
...
...
@@ -181,7 +181,7 @@ EXTRAINCDIRS = $(LUFA_PATH)/
# gnu89 = c89 plus GCC extensions
# c99 = ISO C99 standard (not yet fully implemented)
# gnu99 = c99 plus GCC extensions
CSTANDARD
=
-std
=
gnu
99
CSTANDARD
=
-std
=
c
99
# Place -D or -U options here for C sources
...
...
Demos/Device/ClassDriver/KeyboardMouse/makefile
View file @
42ac34b4
...
...
@@ -181,7 +181,7 @@ EXTRAINCDIRS = $(LUFA_PATH)/
# gnu89 = c89 plus GCC extensions
# c99 = ISO C99 standard (not yet fully implemented)
# gnu99 = c99 plus GCC extensions
CSTANDARD
=
-std
=
gnu
99
CSTANDARD
=
-std
=
c
99
# Place -D or -U options here for C sources
...
...
Demos/Device/ClassDriver/MIDI/makefile
View file @
42ac34b4
...
...
@@ -179,7 +179,7 @@ EXTRAINCDIRS = $(LUFA_PATH)/
# gnu89 = c89 plus GCC extensions
# c99 = ISO C99 standard (not yet fully implemented)
# gnu99 = c99 plus GCC extensions
CSTANDARD
=
-std
=
gnu
99
CSTANDARD
=
-std
=
c
99
# Place -D or -U options here for C sources
...
...
Demos/Device/ClassDriver/MassStorage/makefile
View file @
42ac34b4
...
...
@@ -183,7 +183,7 @@ EXTRAINCDIRS = $(LUFA_PATH)/
# gnu89 = c89 plus GCC extensions
# c99 = ISO C99 standard (not yet fully implemented)
# gnu99 = c99 plus GCC extensions
CSTANDARD
=
-std
=
gnu
99
CSTANDARD
=
-std
=
c
99
# Place -D or -U options here for C sources
...
...
Demos/Device/ClassDriver/MassStorageKeyboard/makefile
View file @
42ac34b4
...
...
@@ -193,7 +193,7 @@ EXTRAINCDIRS = $(LUFA_PATH)/
# gnu89 = c89 plus GCC extensions
# c99 = ISO C99 standard (not yet fully implemented)
# gnu99 = c99 plus GCC extensions
CSTANDARD
=
-std
=
gnu
99
CSTANDARD
=
-std
=
c
99
# Place -D or -U options here for C sources
...
...
Demos/Device/ClassDriver/Mouse/makefile
View file @
42ac34b4
...
...
@@ -181,7 +181,7 @@ EXTRAINCDIRS = $(LUFA_PATH)/
# gnu89 = c89 plus GCC extensions
# c99 = ISO C99 standard (not yet fully implemented)
# gnu99 = c99 plus GCC extensions
CSTANDARD
=
-std
=
gnu
99
CSTANDARD
=
-std
=
c
99
# Place -D or -U options here for C sources
...
...
@@ -218,7 +218,6 @@ CFLAGS += -fshort-enums
CFLAGS
+=
-fno-strict-aliasing
CFLAGS
+=
-Wall
CFLAGS
+=
-Wstrict-prototypes
#CFLAGS += -mshort-calls
CFLAGS
+=
-Wundef
#CFLAGS += -fno-unit-at-a-time
#CFLAGS += -Wunreachable-code
...
...
Demos/Device/ClassDriver/RNDISEthernet/Lib/Ethernet.h
View file @
42ac34b4
...
...
@@ -85,12 +85,7 @@
{
MAC_Address_t
Destination
;
/**< Physical MAC address of the packet recipient */
MAC_Address_t
Source
;
/**< Physics MAC address of the packet source */
union
{
uint16_t
EtherType
;
/**< Ethernet packet sub-protocol type, for Ethernet V2 packets */
uint16_t
Length
;
/**< Ethernet frame length, for Ethernet V1 packets */
};
uint16_t
EtherType
;
/**< Ethernet packet sub-protocol type, for Ethernet V2 packets */
}
Ethernet_Frame_Header_t
;
/* External Variables: */
...
...
Demos/Device/ClassDriver/RNDISEthernet/makefile
View file @
42ac34b4
...
...
@@ -190,7 +190,7 @@ EXTRAINCDIRS = $(LUFA_PATH)/
# gnu89 = c89 plus GCC extensions
# c99 = ISO C99 standard (not yet fully implemented)
# gnu99 = c99 plus GCC extensions
CSTANDARD
=
-std
=
gnu
99
CSTANDARD
=
-std
=
c
99
# Place -D or -U options here for C sources
...
...
Demos/Device/ClassDriver/VirtualSerial/makefile
View file @
42ac34b4
...
...
@@ -180,7 +180,7 @@ EXTRAINCDIRS = $(LUFA_PATH)/
# gnu89 = c89 plus GCC extensions
# c99 = ISO C99 standard (not yet fully implemented)
# gnu99 = c99 plus GCC extensions
CSTANDARD
=
-std
=
gnu
99
CSTANDARD
=
-std
=
c
99
# Place -D or -U options here for C sources
...
...
Demos/Device/ClassDriver/VirtualSerialMouse/makefile
View file @
42ac34b4
...
...
@@ -182,7 +182,7 @@ EXTRAINCDIRS = $(LUFA_PATH)/
# gnu89 = c89 plus GCC extensions
# c99 = ISO C99 standard (not yet fully implemented)
# gnu99 = c99 plus GCC extensions
CSTANDARD
=
-std
=
gnu
99
CSTANDARD
=
-std
=
c
99
# Place -D or -U options here for C sources
...
...
Demos/Device/Incomplete/Sideshow/makefile
View file @
42ac34b4
...
...
@@ -185,7 +185,7 @@ EXTRAINCDIRS = $(LUFA_PATH)/
# gnu89 = c89 plus GCC extensions
# c99 = ISO C99 standard (not yet fully implemented)
# gnu99 = c99 plus GCC extensions
CSTANDARD
=
-std
=
gnu
99
CSTANDARD
=
-std
=
c
99
# Place -D or -U options here for C sources
...
...
Demos/Device/LowLevel/AudioInput/makefile
View file @
42ac34b4
...
...
@@ -179,7 +179,7 @@ EXTRAINCDIRS = $(LUFA_PATH)/
# gnu89 = c89 plus GCC extensions
# c99 = ISO C99 standard (not yet fully implemented)
# gnu99 = c99 plus GCC extensions
CSTANDARD
=
-std
=
gnu
99
CSTANDARD
=
-std
=
c
99
# Place -D or -U options here for C sources
...
...
Demos/Device/LowLevel/AudioOutput/makefile
View file @
42ac34b4
...
...
@@ -179,7 +179,7 @@ EXTRAINCDIRS = $(LUFA_PATH)/
# gnu89 = c89 plus GCC extensions
# c99 = ISO C99 standard (not yet fully implemented)
# gnu99 = c99 plus GCC extensions
CSTANDARD
=
-std
=
gnu
99
CSTANDARD
=
-std
=
c
99
# Place -D or -U options here for C sources
...
...
Prev
1
2
3
4
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment