Cannot find new.h included in PinChangeInt.h

Hi Experts,

I am trying to set up an interrupt for ATTiny85 in Arduin0 1.5.8.
Generally I can compile and program my ATTiny, however when I am trying to use PinChangeInt, I get:

—\Eigene Dokumente\Arduino\libraries\PinChangeInt/PinChangeInt.h:100:19: fatal error: new.h: No such file or directory
#include <new.h>

I have the ATTiny board support installed in
\hardware
and the ATTiny lib in
\libraries

In particular I cannot understand why new.h (which is in its usual place in the arduino IDE install directory) cannot be found while other libs are not causing an error. Here is an extract from PinChangeInt.h (pinchangeint-v2.17beta.zip ).

#if defined(ARDUINO) && ARDUINO >= 100
  #include <Arduino.h>
  #include <new.h>
  #include <wiring_private.h> // cby and sbi defined here
#else
  #include <WProgram.h>
  #include <pins_arduino.h>
  #ifndef   LIBCALL_PINCHANGEINT
    #include "../cppfix/cppfix.h"
  #endif
#endif

Surprisingly Arduino.h (at the same dir) is found.

I have to use PinChangeInt because I need to bind the interrupt to an interrupt routine in a lib.

Any hint to unblock my project :confused: is appreciated,
Archimedeus

The ATtiny support furnishes it's own core files and does not include new.h or new.cpp. Copy them from the IDE core folder into the ATtiny core folder and see if it works.