Skip to content

Commit

Permalink
downgrade needed c++ to 17
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronliu0130 committed Feb 1, 2024
1 parent cc4b4b3 commit 4e1709a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The shell will expand wildcards. By default, thumbnails and file names will be d
### All platforms: Build from source

Our makefile currently only supports `g++`. It should be possible to compile `tiv` manually using any of your favorite compilers that support C++20 and Unix headers (`ioctl.h`, specifically) or `windows.h`. PRs are welcome.
Our makefile currently only supports `g++`. It should be possible to compile `tiv` manually using any of your favorite compilers that support C++17 and Unix headers (`ioctl.h` and `sysexits.h`, specifically) or `windows.h`. PRs are welcome.

```sh
git clone https://github.com/stefanhaustein/TerminalImageViewer.git
Expand Down
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ prefix ?= /usr/local
exec_prefix ?= $(prefix)
bindir ?= $(exec_prefix)/bin

override CXXFLAGS += -std=c++2a -Wall -fexceptions
override CXXFLAGS += -std=c++17 -Wall -fexceptions
override LDFLAGS += -pthread

all: $(PROGNAME)
Expand Down

0 comments on commit 4e1709a

Please sign in to comment.