[m-rev.] for review: make --c-debug work with MSVC

Peter Ross pro at missioncriticalit.com
Thu Oct 31 03:35:18 AEDT 2002


fjh wrote:
> On 30-Oct-2002, Peter Ross <pro at missioncriticalit.com> wrote:
> > Make --c-debug work correctly when using MSVC as your C compiler.
> ...
> > +++ scripts/ml.in 30 Oct 2002 16:04:26 -0000
> > @@ -436,8 +436,17 @@
> >      true) demangle=false ;;
> >  esac
> >
> > +# Determine whether to link the executable with debugging symbols
when using
> > +# MSVC.
> > +if [ $strip = "false" -a $COMPILER = "cl" ]
> > +then
> > +    DEBUG_FLAG="/DEBUG"
> > +else
> > +    DEBUG_FLAG=""
> > +fi
>
> It would be nicer to put that code next to the other code dealing
> with $strip.
>
Done.

--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list