[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #27461 [Core Tor/Tor]: Appveyor: cast between incompatible function types in main



#27461: Appveyor: cast between incompatible function types in main
----------------------------------------------+----------------------------
 Reporter:  teor                              |          Owner:  teor
     Type:  defect                            |         Status:
                                              |  needs_revision
 Priority:  Medium                            |      Milestone:  Tor:
                                              |  0.3.4.x-final
Component:  Core Tor/Tor                      |        Version:  Tor:
                                              |  0.3.4.1-alpha
 Severity:  Normal                            |     Resolution:
 Keywords:  035-must, 034-must, 034-backport  |  Actual Points:
Parent ID:  #27389                            |         Points:
 Reviewer:                                    |        Sponsor:
----------------------------------------------+----------------------------
Changes (by teor):

 * status:  assigned => needs_revision


Comment:

 SetDEPPolicy is only supported on 32-bit Windows:
 https://docs.microsoft.com/en-us/windows/desktop/api/winbase/nf-winbase-
 setprocessdeppolicy

 64-bit Windows defines _WIN32 and _WIN64:
 https://stackoverflow.com/questions/2989810/which-cross-platform-
 preprocessor-defines-win32-or-win32-or-win32

 (HeapSetInformation is supported on 32-bit and 64-bit:
 https://docs.microsoft.com/en-us/windows/desktop/api/heapapi/nf-heapapi-
 heapsetinformation )

 I am running a build to see if disabling SetDEPPolicy on 64-bit Windows
 resolves this issue.

 My branch windows-dep-32-bit has diagnostics, this fix, and the #27460
 fix, but no changes files:
 * https://ci.appveyor.com/project/teor2345/tor/build/1.0.149

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27461#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs