home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!purdue!yuma!csn!qwerty-gw.fsl.noaa.gov!kestrel.fsl.noaa.gov!bear
- From: bear@kestrel.fsl.noaa.gov (Bear Giles)
- Subject: Weird problem under Sun/C++
- Message-ID: <1992Dec30.003304.4131@fsl.noaa.gov>
- Sender: news@fsl.noaa.gov (USENET News System)
- Organization: Forecast Systems Labs, NOAA, Boulder, CO USA
- Date: Wed, 30 Dec 1992 00:33:04 GMT
- Lines: 27
-
- I wrote a simple relational database in C++, but a coworker is having a
- truly bizarre problem using it:
-
- I can link my programs without problem. (More precisely, I have been
- able to link without problems in the past).
-
- If she attempts to link a program using the same library (and compiler,
- linker, etc) the linker can't find one particular function.
-
- If she extracts the object file containing this function and attempts
- to link it as a separate object the function is found (but since this
- module is in the middle of a call tree we still have problems).
-
- The function in question takes five arguments; unfortunately two of those
- arguments are functions taking 2 and 5 arguments respectively. On top of
- that I use "const unsigned char * const" extensively so the length of the
- mangled function name is around 65 characters long, rather than the
- apparent 4 characters ("find").
-
- And of course, Sun technical support will be out until next week, leaving
- us dead in the water.
-
- Any ideas?
-
-
- Bear Giles
- bear@fsl.noaa.gov
-