Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
dm_misc.c:2083:8: error: too few arguments to function 'g_mime_object_to_string'
t = g_mime_object_to_string(GMIME_OBJECT(object));
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gmime-3.0/gmime/gmime.h:35:0,
from dbmail.h:53,
from dm_misc.c:26:
/usr/include/gmime-3.0/gmime/gmime-object.h:136:7: note: declared here
char *g_mime_object_to_string (GMimeObject *object, GMimeFormatOptions *options);
^~~~~~~~~~~~~~~~~~~~~~~
dm_misc.c: In function 'dm_shellesc':
dm_misc.c:1222:24: warning: this statement may fall through [-Wimplicit-fallthrough=]
safe_command[end++] = '\';
~~~~~~~~~~~~~~~~~~~~^~~~~~
dm_misc.c:1223:3: note: here
default:
^~~~~~~
make[3]: *** [Makefile:2439: libdbmail_la-dm_misc.lo] Error 1
In file included from dbmail.h:111:0,
from clientbase.c:26:
clientbase.c: In function 'ci_uncork':
clientbase.c:210:20: warning: format '%d' expects argument of type 'int', but argument 9 has type '__time_t {aka long int}' [-Wformat=]
TRACE(TRACE_DEBUG,"[%p] [%d] [%d], [%d]", s, s->rx, s->tx, s->timeout.tv_sec);
^ ~~~~~~~~~~~~
dm_debug.h:56:76: note: in definition of macro 'TRACE'
#define TRACE(level, fmt...) trace(level, THIS_MODULE, func, LINE, fmt)
^~~
server.c: In function 'server_sig_cb':
server.c:660:4: warning: 'g_mem_profile' is deprecated [-Wdeprecated-declarations]
g_mem_profile();
^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/glist.h:32:0,
from /usr/include/glib-2.0/glib/ghash.h:33,
from /usr/include/glib-2.0/glib.h:50,
from /usr/include/gmime-3.0/gmime/gmime.h:25,
from dbmail.h:53,
from server.c:28:
/usr/include/glib-2.0/glib/gmem.h:367:6: note: declared here
void g_mem_profile (void);
^~~~~~~~~~~~~
server.c: In function 'server_mainloop':
server.c:965:14: error: 'GMIME_ENABLE_RFC2047_WORKAROUNDS' undeclared (first use in this function)
g_mime_init(GMIME_ENABLE_RFC2047_WORKAROUNDS);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
server.c:965:14: note: each undeclared identifier is reported only once for each function it appears in
server.c:965:2: error: too many arguments to function 'g_mime_init'
g_mime_init(GMIME_ENABLE_RFC2047_WORKAROUNDS);
^~~~~~~~~~~
In file included from dbmail.h:53:0,
from server.c:28:
/usr/include/gmime-3.0/gmime/gmime.h:124:6: note: declared here
void g_mime_init (void);
^~~~~~~~~~~
server.c:972:2: warning: implicit declaration of function 'g_mime_filter_crlf_get_type'; did you mean 'g_mime_filter_from_get_type'? [-Wimplicit-function-declaration]
g_mime_filter_crlf_get_type();
^~~~~~~~~~~~~~~~~~~~~~~~~~~
g_mime_filter_from_get_type