Skip to content

Commit

Permalink
Allow taking references to packed struct fields in MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
gnzlbg committed Jun 21, 2019
1 parent 7170250 commit 6f1a656
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,7 @@ impl TestGenerator {
.flag("/wd4296") // '<' being always false
.flag("/wd4255") // converting () to (void)
.flag("/wd4668") // using an undefined thing in preprocessor?
.flag("/wd4366") // taking ref to packed struct field might be unaligned
;
} else {
cfg.flag("-Wall")
Expand Down

0 comments on commit 6f1a656

Please sign in to comment.