← Back to team overview

kicad-developers team mailing list archive

gcc-specific OpenMP extension in connectivity_algo.cpp:351

 

Hi,

Commit 0748c118d introduced a line

    #pragma omp parallel shared( m_itemList ) ...

MSVC rejects this, as m_itemList is a subobject of this, and sharing
subobjects is not allowed in the OpenMP specification:

    A variable that is part of another variable (as an array or structure
    element) cannot be shared independently of the other components, except
    for static data members of C++ classes.

I haven't looked into the issue deeply yet, so this could be trivially
solvable, or not.

   Simon


Follow ups