cuda-memcheck shows erroneous line number

malfunct@Centauri:~/Code/examachine/cuda$ cuda-memcheck ./test_dynarray


========= Invalid __global__ write of size 4

=========     at 0x00003198 in dynarray.h:516:test_dynarray

=========     by thread (0,0,0) in block (0,0)

=========     Address 0xfd0831fe20 is out of bounds


========= ERROR SUMMARY: 1 error

malfunct@Centauri:~/Code/examachine/cuda$ wc -l dynarray.h 

292 dynarray.h

dynarray.h is included from, is it possible the line numbers got mixed up? i’ve been having these strange cpp related errors, another one i suppose.