🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools
Article #476

Re: MS-C 7.00 + Windows problem

#476
From: Denis Beauregard
Date: Mon, 28 Sep 1992 21:10
53 lines
3113 bytes
In article <1992Sep22.172807.16576@microsoft.com> jonka@microsoft.com (Jonathan Kagle) writes:
>In article <BuqH7u.8I3@ireq.hydro.qc.ca> beaurega@ireq.hydro.qc.ca (Denis 
>Beauregard) writes: 
>
>>MS-C claims 6000 pages of "comprehensive" documentation.  They don't
>>give any summary table of switches/options, nor the meaning of some
>>compiler generated labels.  
>
>The "Environment and Tools" guide describes the compiler and its utilities
>in detail. The "Quick Reference Guide" is an eight-page foldout card that
>gives the command-line options and syntax for CL, NMAKE, PWB, CV/CVW, LINK,
>and LIB.

What against a summary of switches in the same chapter describing them in
details or a topical list of switches or some program you cuold run to
generate switches according to user needs (I tried with PWB, but with the
number of not-human readable lines it has generated, I couldn't find 
the switches I needed). 
>
>> In this aspect, I get this label multi-defined:
>>PLOCALHEAP as in:
>>
>>domouvr.obj(domouvr.cxx) : error L2025: PLOCALHEAP : symbol defined more than|
>>lireparm.obj(lireparm.cxx) : error L2025: PLOCALHEAP : symbol defined more th|
>>lirecfg.obj(lirecfg.cxx) : error L2025: PLOCALHEAP : symbol defined more than|
>>erreur.obj(erreur.cxx) : error L2025: PLOCALHEAP : symbol defined more than o|
>>dbwin.lib(sysfct.cxx) : error L2025: PLOCALHEAP : symbol defined more than on|
>>c:\c700\lib\slibcaw.lib(windows\wnull.asm) : error L2025: pLocalHeap : symbol|
>
>I think that the "compiler-generated labels" that you refer to are labels in 
>the library that you are using. The reason that they're not listed in the 
>printed documentation is that the listings would take several hundred pages for
>all of the possible libraries that you can build with Microsoft C/C++ 7.0.
>
>To display all of the symbols in a library file, use the following LIB
>syntax:
>
>     LIB <libraryname>, <listingfile>
>
>The resulting listingfile will show you if a symbol is already used. In this
>case, pLocalHeap is used by slibcaw.lib (it seems to be in all of the Windows
>libraries). You should rename this label in your code to avoid the conflict.
>
>       -Jonathan

But, I never declared that label in any of my modules.  It was generated
by some switch of the compiler...

-- 
  \_\    Denis Beauregard  *  internet:beaurega@ireq.hydro.qc.ca
 /   \   Genealogiste officiel : Beauregard/Jarret/Jarest/Vincent
J   __>  Un Quebec renouvele dans une Amerique renovee
\_.-===                                                  Opinions ? Et pis non !
Technical Details
Message-ID: <BvB45J.41p@ireq.hydro.qc.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!bonnie.concordia.ca!hobbit.ireq.hydro.qc.ca!beaurega
References: <BuqH7u.8I3@ireq.hydro.qc.ca> <1992Sep22.172807.16576@microsoft.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!bonnie.concordia.ca!hobbit.ireq.hydro.qc.ca!beaurega
From: beaurega@ireq.hydro.qc.ca (Denis Beauregard)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Re: MS-C 7.00 + Windows problem
Message-ID: <BvB45J.41p@ireq.hydro.qc.ca>
Date: 28 Sep 92 21:10:31 GMT
References: <BuqH7u.8I3@ireq.hydro.qc.ca> <1992Sep22.172807.16576@microsoft.com>
Sender: news@ireq.hydro.qc.ca (Netnews Admin)
Organization: Institut de recherche d'Hydro-Quebec, Varennes, Canada
Lines: 53