Opened 19 years ago
Closed 18 years ago
#144 closed Support Requests (Out of Date)
graph: optimized compilation problem with gcc3.3
Reported by: | nobody | Owned by: | jsiek |
---|---|---|---|
Milestone: | Component: | None | |
Version: | None | Severity: | |
Keywords: | Cc: |
Description
I am using the boost::graph library under SuSE Linux 8.2 in a rather big project. One of my classes contains an adjacency-list graph with a large set of properties (all added via templates as vertex or edge properties). As long as I used older versions of the GNU C Compiler (2.95) I didn't have any problems, but now I have changed to GCC 3.3 (shipped with SuSE Linux 8.2) and I cannot compile the specific header file with optimazation turned on: Without optimization all files compile as usual, but when I turn on optimization (i.e. -O2 or -O) any file that includes the particular header and uses the particular class takes endless time to compile and starts to eat up all the memory. I had to kill the compiler after half an our because my system ran out of memory. Can you give me any advise how to solve this problem. Can the deep cascading templates cause the problem?
Note:
See TracTickets
for help on using tickets.