Rochan,

>  From Google, it seems that using "designated initializers" such as 
> const std::vector<bool> &marked_vertices = std::vector<bool>() in the 
> function declaration in the header file is not allowed in Visual Studio. 
> It needs building with C99 support which is not there.

Luca's solution with binaries is definitely the way to go, but just for 
the record: That's not a designated initializer
   https://en.cppreference.com/w/cpp/language/aggregate_initialization
but instead a default argument. The latter have been part of C++ since 
the 1980s, and MSVC will understand them.

There are a number of other functions in this file that we have had to 
work around for MSVC. It is possible that that's feasible also for this 
function, but since newer versions of MSVC compile deal.II just fine, 
that would seem to be the easier route.

Best
  W.

-- 
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                            www: http://www.math.colostate.edu/~bangerth/

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to