msvc does not support designated initializers in structs
authorAnonymous Maarten <anonymous.maarten@gmail.com>
Wed, 17 Jun 2020 11:53:57 +0000 (13:53 +0200)
committerAnonymous Maarten <anonymous.maarten@gmail.com>
Wed, 17 Jun 2020 14:20:52 +0000 (16:20 +0200)
passes/techmap/extract_counter.cc

index 68b338143af48d3885248dc5bfd12002f38f972a..77a4bc0b6fb1dbdf1c1e7fb45fe00c53dcc012b9 100644 (file)
@@ -795,11 +795,11 @@ struct ExtractCounterPass : public Pass {
                pool<RTLIL::IdString> _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;