Skip to content

Commit

Permalink
Fix a clang warning for treating 'c' input as 'c++' when in C++ mode,…
Browse files Browse the repository at this point in the history
… this behavior is deprecated

```
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
```
  • Loading branch information
ydah committed Aug 9, 2024
1 parent 5f5cfd1 commit a0eb12a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/lrama/integration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def generate_object(grammar_file_path, c_path, obj_path, command_args: [])
end

describe "sample files" do
let(:c_path) { Dir.tmpdir + "/test.c" }
let(:c_path) { Dir.tmpdir + "/test.#{file_extension}" }
let(:obj_path) { Dir.tmpdir + "/test" }

describe "calc.y" do
Expand Down

0 comments on commit a0eb12a

Please sign in to comment.