[Xapian-tickets] [Xapian] #665: Avoid C library functions not guaranteed to be thread-safe

Xapian nobody at xapian.org
Fri Oct 25 23:45:48 BST 2019


#665: Avoid C library functions not guaranteed to be thread-safe
-------------------------+--------------------------
 Reporter:  olly         |             Owner:  olly
     Type:  defect       |            Status:  new
 Priority:  normal       |         Milestone:  1.4.x
Component:  Library API  |           Version:  1.3.2
 Severity:  normal       |        Resolution:
 Keywords:               |        Blocked By:
 Blocking:               |  Operating System:  All
-------------------------+--------------------------

Comment (by olly):

 Does GCC actually support a `bless` pragma?  With GCC 9.2.1 I get:

 {{{
 poison.cc:2: warning: ignoring #pragma GCC bless [-Wunknown-pragmas]
     2 | #pragma GCC bless atoi
 }}}

 The only references I found seem to be copies of a blog post wishing it
 existed.

--
Ticket URL: <https://trac.xapian.org/ticket/665#comment:13>
Xapian <https://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list