Opened 15 years ago
Closed 12 years ago
#1066 closed Patches (wontfix)
Patch to make Boost.Python compile on SunCC
Reported by: | Owned by: | Dave Abrahams | |
---|---|---|---|
Milestone: | To Be Determined | Component: | python USE GITHUB |
Version: | Severity: | Showstopper | |
Keywords: | Cc: |
Description
Without the patch, SunCC gets confused between the template and overload versions of getattr. Probably legitimately because "abcd" has a type of char(&)[4] which matches the template type as well as the overload (by conversion?). Anyway, IANA C++ L so here it is.
Attachments (1)
Change History (8)
by , 15 years ago
Attachment: | 3_py_suncc.patch added |
---|
comment:1 by , 15 years ago
Component: | Building Boost → Python |
---|---|
Owner: | set to |
comment:2 by , 14 years ago
Status: | new → assigned |
---|
comment:3 by , 13 years ago
Owner: | changed from | to
---|---|
Status: | assigned → new |
Sohail -- I think SunCC might be wrong. The type of the string literal is *supposed* to be char const(&)[4]
. Will your patch still work if you change the cast to
(char const*)
? That's a change I wouldn't mind applying (too much).
comment:4 by , 13 years ago
Owner: | changed from | to
---|
You are right, it should be char const. I actually can't verify any patches anymore since I don't have access to this compiler :-/
However, I think it should work.
follow-up: 6 comment:5 by , 12 years ago
class.cpp compiles without errors on Sun CC 5.9. Resolve as wontfix, since it works with recent versions?
comment:6 by , 12 years ago
Replying to steven_watanabe:
class.cpp compiles without errors on Sun CC 5.9. Resolve as wontfix, since it works with recent versions?
Sounds good.
comment:7 by , 12 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Patch for SunCC 11 to compile class.cpp