c and cpp shield separated