If you're are integrating snap7 in your application while using -std=c++17 (or above), the direct or indirect inclusion of s7_partner.h, with its 'using namespace std' declaration, may cause conflicts ...