Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit afda346

Browse files
committed
Fix some makefile snippets not being updated to use C++17 (fixes #108)
1 parent fd4e238 commit afda346

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

06_Texture_mapping/00_Images.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ STB_INCLUDE_PATH = /home/user/libraries/stb
7676
7777
...
7878
79-
CFLAGS = -std=c++11 -I$(VULKAN_SDK_PATH)/include -I$(STB_INCLUDE_PATH)
79+
CFLAGS = -std=c++17 -I$(VULKAN_SDK_PATH)/include -I$(STB_INCLUDE_PATH)
8080
```
8181

8282
## Loading an image

08_Loading_models.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ TINYOBJ_INCLUDE_PATH = /home/user/libraries/tinyobjloader
3838
3939
...
4040
41-
CFLAGS = -std=c++11 -I$(VULKAN_SDK_PATH)/include -I$(STB_INCLUDE_PATH) -I$(TINYOBJ_INCLUDE_PATH)
41+
CFLAGS = -std=c++17 -I$(VULKAN_SDK_PATH)/include -I$(STB_INCLUDE_PATH) -I$(TINYOBJ_INCLUDE_PATH)
4242
```
4343

4444
## Sample mesh

0 commit comments

Comments
 (0)