From: Anonymous Maarten Date: Wed, 17 Jun 2020 11:53:57 +0000 (+0200) Subject: msvc does not support designated initializers in structs X-Git-Tag: working-ls180~467^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=60fb9cabcfad985a4f35acaa74fd6e63b45081bc;p=yosys.git msvc does not support designated initializers in structs --- diff --git a/passes/techmap/extract_counter.cc b/passes/techmap/extract_counter.cc index 68b338143..77a4bc0b6 100644 --- a/passes/techmap/extract_counter.cc +++ b/passes/techmap/extract_counter.cc @@ -795,11 +795,11 @@ struct ExtractCounterPass : public Pass { pool _parallel_cells; CounterExtractionSettings settings { - .parallel_cells = _parallel_cells, - .maxwidth = 64, - .minwidth = 2, - .allow_arst = true, - .allowed_dirs = 0, + _parallel_cells, // parallel_cells + 64, // maxwidth + 2, // minwidth + true, // allow_arst + 0, // allowed_dirs }; size_t argidx;