Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Pass -g to ocamlc compiling C files when tagged with "debug" #6720
Original bug ID: 6720
Comment author: @alainfrisch
The MSVC compiler doesn't recognize "-g". It doesn't fail on it, but simply report a warning:
cl : Command line warning D9002 : ignoring unknown option '-g'
I don't know if it is preferable to simply do nothing with MSVC ports, or rather to pass another debug-related option. I reopen the ticket so that we don't loose track of this.
(Note that -o also produces a warning:
cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release