Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Follow littlefs file name spec, update for compiling for c++ 20, update gitignore for binaries #43

Merged
merged 2 commits into from
Jun 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ build
.project
.cproject
.settings

# binaries
mklittlefs
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ override CPPFLAGS := \
-D BUILD_CONFIG=\"$(BUILD_CONFIG_STR)\" \
-D BUILD_CONFIG_NAME=\"$(BUILD_CONFIG_NAME)\" \
-D __NO_INLINE__ \
-D LFS_NAME_MAX=32 \
-D LFS_NAME_MAX=255 \
$(CPPFLAGS)

override CFLAGS := -std=gnu99 -Os -Wall -Wextra -Werror $(TARGET_CFLAGS) $(CFLAGS)
Expand Down
2 changes: 1 addition & 1 deletion tclap/MultiArg.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ class MultiArg : public Arg
/**
* Prevent accidental copying
*/
MultiArg<T>(const MultiArg<T>& rhs);
MultiArg(const MultiArg& rhs);
MultiArg<T>& operator=(const MultiArg<T>& rhs);

};
Expand Down
2 changes: 1 addition & 1 deletion tclap/ValueArg.h
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ class ValueArg : public Arg
/**
* Prevent accidental copying
*/
ValueArg<T>(const ValueArg<T>& rhs);
ValueArg(const ValueArg& rhs);
ValueArg<T>& operator=(const ValueArg<T>& rhs);
};

Expand Down