D6926: Don't set POSIX_SOURCE on FreeBSD.

Tobias C. Berner noreply at phabricator.kde.org
Wed Jul 26 13:14:13 BST 2017


tcberner created this revision.
Restricted Application added a project: KDE PIM.
Restricted Application added a subscriber: KDE PIM.

REVISION SUMMARY
  /wrkdirs/usr/ports/deskutils/kdepim-runtime/work/kdepim-runtime-17.07.80/resources/imap/saslplugin/xoauth2plugin.c:178:5:
  
    error: implicitly declaring library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
      snprintf(context->out_buf, context->out_buf_len, "user=%s\1auth=Bearer %s\1\1", authid, token);
      ^
  
  /wrkdirs/usr/ports/deskutils/kdepim-runtime/work/kdepim-runtime-17.07.80/resources/imap/saslplugin/xoauth2plugin.c:178:5:
  
    note: include the header <stdio.h> or explicitly provide a declaration for 'snprintf'
  
  1 error generated.

REPOSITORY
  R44 KDE PIM Runtime

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D6926

AFFECTED FILES
  resources/imap/saslplugin/CMakeLists.txt

To: tcberner, #freebsd, dvratil
Cc: #kde_pim, dvasin, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20170726/1f1f0edb/attachment.html>


More information about the kde-pim mailing list