Mercury Bugs - mercury
View Issue Details
0000531mercuryBugpublic2021-04-26 23:572021-04-27 00:17
Reporterhyphz 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusnewResolutionopen 
PlatformWindowsOS10OS Version20H2
Product Version 
Target VersionFixed in Version 
Summary0000531: 20.06.1 will not compile in MingW32 2013072200 w/gcc 9.2.0-2: gettimeofday is deprecated
DescriptionSeems to be no workaround for this or way to add the -W flag to disable it?
Steps To ReproduceInstall MSYS with latest gcc, flex and bison
Run configure and make on mercury
TagsNo tags attached.
Attached Files

Notes
(0001133)
juliensf   
2021-04-27 00:06   
(Last edited: 2021-04-27 00:17)
Creating a file named Mmake.params at the top-level of the source tree that contains the following
should workaround the problem:

    EXTRA_CFLAGS=-Wno-deprecated-declarations

(or whatever the appropriate -W option is in this case.)


Issue History
2021-04-26 23:57hyphzNew Issue
2021-04-27 00:06juliensfNote Added: 0001133
2021-04-27 00:17juliensfNote Edited: 0001133bug_revision_view_page.php?bugnote_id=1133#r54