Skip to content

Commit

Permalink
Fix compile flag on g++
Browse files Browse the repository at this point in the history
Apparently the `-ctor` part is only recognized by Clang.
  • Loading branch information
garfieldnate committed Mar 7, 2024
1 parent ac18c2d commit 018a547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ else:
# cflags.extend(['-Werror'])

# We're starting with something simple. We'll add more as we go.
cflags.extend(['-Wunused-variable', '-Wreorder-ctor'])
cflags.extend(['-Wunused-variable', '-Wreorder'])

# warning doesn't exist in Apple's clang
if sys.platform != 'darwin':
Expand Down

0 comments on commit 018a547

Please sign in to comment.