rules for include changed between 1.01 and 1.6

Hi all,
I have been programming happily for years in arduino 1:1.0.5 dsfg.2 or something that came with Ubuntu, and was installed using apt-get install arduino'.

Now I have changed to 1.6.12 and suddenly the programs that use #include "/home/user/sketchbook/sketc/include.inc" do not work any more. These are not include.h files with corresponding .ccp files, but just parts of the program source that make the file too unwieldy.

Therefore, my sketchbook programs have a main program: sketch.ino, and one or more include files (setup.inc or something) to keep the files readable.

Typically I get:

/home/paai/sketchbook/Wifi_therm/wifi_setup.inc:233:21: error: 'get_value' was not declared in this scope
stap=get_value(13);

What has changed between the two IDE versions that this does not work any more? And how do I fix this?

What has changed between the two IDE versions that this does not work any more? And how do I fix this?

The thing that has changed is that only certain extensions are recognized as valid. As for how to fix "this", you can rename your files to use valid extensions.

The IDE already knows how to sew together a series of ino files in one directory, so your approach, using #include statements, was not necessary to begin with.

Thank you, Paul. So things have changed. You would not have a pointer to a site where the new rules are described? I am not too lazy to search myself, but I have difficulties to formulate a query that works, because there are A LOT of webpages that contain the words 'arduino' and 'include'...
Paai

You would not have a pointer to a site where the new rules are described?

No, I don't. I just remember reading that the rules changed regarding what extensions are supported.