[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmymoney-devel
Subject:    [Kmymoney-devel] new compile warning
From:       Jack <ostroffjh () frontier ! com>
Date:       2015-05-19 16:47:15
Message-ID: 1432054035.27628.10 () ffortso4
[Download RAW message or body]

Although this is clearly not really a KMM problem, I'm posting in case  
anyone else sees this and wonders what's going on.  As I mentioned in a  
bug comment, I'm recompiling from source, and am now getting lots of  
this warning:

/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and  
_SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use  
_DEFAULT_SOURCE"
    ^
features.h has the following comment just above the lines that emit the  
warning:
/* _BSD_SOURCE and _SVID_SOURCE are deprecated aliases for  
_DEFAULT_SOURCE.  If _DEFAULT_SOURCE is present we do not issue a  
warning; the expectation is that the source is being transitioned to  
use the new macro.  */

According to my logs, I upgraded to glibc 2.20 in March, so that is why  
I didn't see the issue until now - the first major compile I've done  
since then.

The only place I see either of these variable in the code is  
_BSD_SOURCE on line 122 of CMakeLists.txt.  I'll be glad to change that  
to _DEFAULT_SOURCE, but I have no idea if there are any implications of  
doing so, especially with glibc versions prior to 2.20.

Jack
_______________________________________________
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic