Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22999 - libpq++ DLLIMPORT in class declarations
Summary: libpq++ DLLIMPORT in class declarations
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 23004
  Show dependency tree
 
Reported: 2003-06-17 09:10 UTC by Clemens Oertel
Modified: 2003-07-18 23:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Clemens Oertel 2003-06-17 09:10:09 UTC
Some header files from the dev-libs/libpq++ package have DLLIMPORT in the class 
declarations. gcc 3.2.3 didn't like that and complained about syntax errors when 
trying to compile libdbmusic-0.7.0 (not yet in the ports tree). It might just be 
a missing header file in which this identifier would have been introduced 
However, I simply removed all the DLLIMPORT keywords and woosh, everything 
compiled smoothly. kmusicdb-0.11.0 also compiled and seems to perfectly.

Reproducible: Always
Steps to Reproduce:
1. emerge libpq++      # version 4.0
2. emerge libdbmusic   # version 0.7.0, not yet in ports tree

Actual Results:  
syntax error

Expected Results:  
clean compilation

To emerge libmusicdb, I reused libdbmusic-0.4.1.ebuild without any modifications 
(except for removing the beta1-part in the src uri)
Comment 1 J. Ellis (RETIRED) gentoo-dev 2003-06-20 20:49:45 UTC
This is a C++ library for postgres (ie. not a sound thing)
Comment 2 J. Ellis (RETIRED) gentoo-dev 2003-07-18 23:05:37 UTC
Cleaned up, added a patch to remove the DLLIMPORTs from the header files. libdbmusic-4.1 now compiles again.