A couple of questions

sokopok:
I have a couple of questions:

  1. operator is not defined -> is this normal?
  2. Say, I have a library and a sketch. What I would like to do (and should be possible, this is C++) is:
    in the sketch:
#define XYZ

#include <library.h>



in the library: 


#ifdef XYZ



-> why doesn't this work?

Defining something in the sketch does not make it defined in the library. That is a different compilation unit.