Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
271e5cd2
Commit
271e5cd2
authored
Apr 25, 2019
by
Nick Hynes
Committed by
Me No Dev
Apr 25, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Werror=reorder for idf.py build (#2707)
parent
619568db
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
libraries/EEPROM/src/EEPROM.cpp
libraries/EEPROM/src/EEPROM.cpp
+6
-6
tools/platformio-build.py
tools/platformio-build.py
+2
-1
No files found.
libraries/EEPROM/src/EEPROM.cpp
View file @
271e5cd2
...
@@ -28,10 +28,10 @@
...
@@ -28,10 +28,10 @@
#include <esp_log.h>
#include <esp_log.h>
EEPROMClass
::
EEPROMClass
(
void
)
EEPROMClass
::
EEPROMClass
(
void
)
:
_data
(
0
)
:
_handle
(
NULL
)
,
_data
(
0
)
,
_size
(
0
)
,
_size
(
0
)
,
_dirty
(
false
)
,
_dirty
(
false
)
,
_handle
(
NULL
)
,
_name
(
"eeprom"
)
,
_name
(
"eeprom"
)
,
_user_defined_size
(
0
)
,
_user_defined_size
(
0
)
{
{
...
@@ -39,20 +39,20 @@ EEPROMClass::EEPROMClass(void)
...
@@ -39,20 +39,20 @@ EEPROMClass::EEPROMClass(void)
EEPROMClass
::
EEPROMClass
(
uint32_t
sector
)
EEPROMClass
::
EEPROMClass
(
uint32_t
sector
)
// Only for compatiility, no sectors in nvs!
// Only for compatiility, no sectors in nvs!
:
_data
(
0
)
:
_handle
(
NULL
)
,
_data
(
0
)
,
_size
(
0
)
,
_size
(
0
)
,
_dirty
(
false
)
,
_dirty
(
false
)
,
_handle
(
NULL
)
,
_name
(
"eeprom"
)
,
_name
(
"eeprom"
)
,
_user_defined_size
(
0
)
,
_user_defined_size
(
0
)
{
{
}
}
EEPROMClass
::
EEPROMClass
(
const
char
*
name
,
uint32_t
user_defined_size
)
EEPROMClass
::
EEPROMClass
(
const
char
*
name
,
uint32_t
user_defined_size
)
:
_data
(
0
)
:
_handle
(
NULL
)
,
_data
(
0
)
,
_size
(
0
)
,
_size
(
0
)
,
_dirty
(
false
)
,
_dirty
(
false
)
,
_handle
(
NULL
)
,
_name
(
name
)
,
_name
(
name
)
,
_user_defined_size
(
user_defined_size
)
,
_user_defined_size
(
user_defined_size
)
{
{
...
...
tools/platformio-build.py
View file @
271e5cd2
...
@@ -59,7 +59,8 @@ env.Append(
...
@@ -59,7 +59,8 @@ env.Append(
"-Wno-unused-parameter"
,
"-Wno-unused-parameter"
,
"-Wno-sign-compare"
,
"-Wno-sign-compare"
,
"-fstack-protector"
,
"-fstack-protector"
,
"-fexceptions"
"-fexceptions"
,
"-Werror=reorder"
],
],
CXXFLAGS
=
[
CXXFLAGS
=
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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