Skip to content

Wrong sketch lines numbering and nonexisting errors #4282

@sasa999

Description

@sasa999
#define MODE   1

#if MODE == 0
#include    <Servo.h>    
Servo myservo;  
#endif

With MODE = 0 it compiles without problem, but with MODE=1 it show non existing errors on non existing sketch lines. I use Arduino IDE 1.6.5.
//my sketch worked fine till last night. with Arduino IDE 1.6.4 . I don't know what happened but I coudnt compile many of my sketches. I tried change /update Arduino IDE to 1.6.5 , libraries etc, but nothing helps :(

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions