OK, I was running version 16.01, and I liked it, everything worked out great. I have recently downloaded the newer version 17.12, now I am having major problems. For every program I create I use the following inline function:
inline void keep_window_open(){char ch; scanf("%s", ch);}
then right before the return 0; statement I would call the function this way:
keep_window_open();
This never failed, all my program compiled. However with this new release, I get the error : undefined reference to keep_window_open.
Even in the simplest of programs such as:
#include <stdio.h>
#include <stdlib.h>
inline void keep_window_open(){char ch; scanf("%s", ch);}
int main()
{
printf("Hello world!\n");
keep_window_open();
return 0;
}
This will not compile, nothing will it use to in the older version, but now it won't
So what is up? I have my settings like they always were before, to use GNC GCC, I am using the console application template, just I like I always have before. So I do not understand why in this new version this won't work. Very frustrating.