Using cmath, could you paste the entire compile line for analyserwaveform.o? I'd like to macro-expand and pre-process the file to see what headers are getting added.