Fedict / eid-mw

eID Middleware (main repository)
GNU Lesser General Public License v3.0
198 stars 79 forks source link

using namespace std is used in a global scope #176

Closed erikjanss closed 2 years ago

erikjanss commented 2 years ago

https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#sf7-dont-write-using-namespace-at-global-scope-in-a-header-file

in :

the statement 'using namespace std' is placed before the inclusion of other header files, thereby removing the possibility from those headers to use types with the same name as those used in the std namespace.

this makes the use of the mingw compiler not possible to compile the pkcs11 plugin