Thanks Patrick

I see you have been busy cleaning up stuff :)

I started searching for __STRICT_ANSI__ but couldn't find it defined anywhere, that's when I looked for other reasons it might be defined and found that setting the cflag -std=iso9899:1990 has that side effect. and because it was found in the flags.make file for the offending file it seems to be the culprit.

flags.make is a generated file. but I don't know what its generated from, My knowledge of cmake is sparten.


I have searched in all the git source folders nothing in them. I am stumped, just when I thought I was getting on top of this too.


Regards
Developer Chris
developerch...@rebel.com.au

On 01/05/2013 9:25 PM, Patrick Spendrin wrote:
Am 01.05.2013 13:36, schrieb DeveloperChris:
Hi

I am trying to build kdevelop but keep getting error like ...

cmListFileLexer.c:1566: error: implicit declaration of function 'fileno'

This appears to be because __STRICT_ANSI__ is defined

__STRICT_ANSI__ is defined because gcc is called with -std=iso9899:1990

-std=iso9899:1990 is found in
R:\build\extragear\kdevelop-4.0.0.20100506\work\mingw4-RelWithDebInfo-gitHEAD\projectmanagers\cmake\CMakeFiles\kdev4cmakecommon.dir\flags.make


But I can't find where it comes from.

I have searched every file in git\kdevelop for something akin to iso9899
to see where it is created but cannot find it

try searching in kdevplatform too, also try to check if gcc isn't called
with an explicit flag __STRICT_ANSI__! I have seen that defined
somewhere, not sure where though.


I don't know where this flag is created. Can anyone help?


regards,
Patrick

_______________________________________________
Kde-windows mailing list
Kde-windows@kde.org
https://mail.kde.org/mailman/listinfo/kde-windows

Reply via email to