MetPX / sarrac

C implementation of (a subset of) Sarracenia (large scale file transfer utility)
GNU General Public License v2.0
4 stars 1 forks source link

SR_DEBUG_LOGS testing of debug broken since 3.24.03 #150

Closed petersilva closed 4 weeks ago

petersilva commented 4 months ago

adding the context broke this testing method. Need to fix so test can work.

andreleblanc11 commented 4 months ago

This is the error message obtained when running a make

sr_util.h:17:23: warning: passing argument 2 of ‘fprintf’ makes pointer from integer without a cast [-Wint-conversion]
   17 | #define LOG_INFO      (5)
      |                       ^~~
      |                       |
      |                       int
sr_util.h:51:49: note: in definition of macro ‘sr_log_msg’
   51 | #define sr_log_msg(prio, ... ) fprintf( stderr, __VA_ARGS__ )
      |                                                 ^~~~~~~~~~~
petersilva commented 4 months ago

need to add the logctx test to this ...

petersilva commented 4 weeks ago

it was fixed... a while ago...