Compile warning on Solaris

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • WT2.6.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None

      libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./api/leveldb -I./src/include -pthreads -m64 -MT src/reconcile/rec_write.lo -MD -MP -MF src/reconcile/.deps/rec_write.Tpo -c src/reconcile/rec_write.c  -fPIC -DPIC -o src/reconcile/.libs/rec_write.o
       [2015/05/15 03:38:49.508] src/os_posix/os_thread.c: In function '__wt_thread_id':
       [2015/05/15 03:38:49.508] src/os_posix/os_thread.c:59:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       [2015/05/15 03:38:49.508]       "%" PRIu64 ":%p", (uint64_t)getpid(), (void *)self);
       [2015/05/15 03:38:49.508]                                             ^
      

              Assignee:
              Keith Bostic (Inactive)
              Reporter:
              Alexander Gorrod
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: