[Xapian-tickets] [Xapian] #806: Project does not compile on VS2019 with C++20 turned on

Xapian nobody at xapian.org
Wed Dec 23 21:20:50 GMT 2020


#806: Project does not compile on VS2019 with C++20 turned on
--------------------------+--------------------------------------
 Reporter:  Mateusz Pusz  |             Owner:  Olly Betts
     Type:  defect        |            Status:  new
 Priority:  normal        |         Milestone:  1.4.18
Component:  Other         |           Version:  1.4.16
 Severity:  normal        |        Resolution:
 Keywords:                |        Blocked By:
 Blocking:                |  Operating System:  Microsoft Windows
--------------------------+--------------------------------------
Comment (by Mateusz Pusz):

 I am pretty sure that this problem is caused by `using namespace std;`
 which should be avoided in the global scope and especially in header
 files. If you will narrow down `using namespace std;` to the function or
 block-level that needs it the problem should disappear.
-- 
Ticket URL: <https://trac.xapian.org/ticket/806#comment:5>
Xapian <https://xapian.org/>
Xapian


More information about the Xapian-tickets mailing list