But if the user declares a function that takes an opaque vector, it complains: void test4(cp_vector a); mep-elf-g++ -mivc2 test.c test.c:1:23: warning: 'cp_vector' is deprecated