
Hi all, Does anybody have an access to an EDG-based compiler, and willing to help me to figure out whether a certain typeof test reports an ODR violation? I would very much appreciate this... Thanks in advance, Arkadiy

Arkadiy Vertleyb wrote:
Does anybody have an access to an EDG-based compiler, and willing to help me to figure out whether a certain typeof test reports an ODR violation? I would very much appreciate this...
Correct me if I'm wrong, but AFAIK Comeau is currently the only EDG-based compiler that supports link-time template instantiation, no? Stefan

Arkadiy Vertleyb wrote:
Hi all,
Does anybody have an access to an EDG-based compiler, and willing to help me to figure out whether a certain typeof test reports an ODR violation? I would very much appreciate this...
Try comeau online. Just preprocess your source and throw it in there. Note that most EDG Windows compilers won't check as strictly as on other platforms. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com

"David Abrahams" <dave@boost-consulting.com> wrote
Arkadiy Vertleyb wrote:
Does anybody have an access to an EDG-based compiler, and willing to help me to figure out whether a certain typeof test reports an ODR violation? I would very much appreciate this...
Try comeau online. Just preprocess your source and throw it in there.
Note that most EDG Windows compilers won't check as strictly as on other platforms.
Unfortunately their online version doesn't support multiple source files, which I guess makes it useless for this particular purpose :-( Arkadiy

Arkadiy Vertleyb wrote:
Hi all,
Does anybody have an access to an EDG-based compiler, and willing to help me to figure out whether a certain typeof test reports an ODR violation? I would very much appreciate this...
Would the online version of the Comeau compiler be sufficient? (see http://www.comeaucomputing.com/tryitout/ ) Otherwise, I would be able to compile and run a few tests for you using intel 8.1. Regards, m

Martin Wille <mw8329 <at> yahoo.com.au> writes:
Arkadiy Vertleyb wrote:
Hi all,
Does anybody have an access to an EDG-based compiler, and willing to help me to figure out whether a certain typeof test reports an ODR violation? I would very much appreciate this...
Would the online version of the Comeau compiler be sufficient? (see http://www.comeaucomputing.com/tryitout/ )
Otherwise, I would be able to compile and run a few tests for you using intel 8.1.
Martin provided a great help in porting the typeof library to como 4.3.3. After that he ran the tests in the strict mode (recommended by the Comeau support to increase the chances of ODR violation reporting). *No ODR violation was reported* The test was specificaly designed to cause the ODR violation. It is a part of the typeof library that can be found in the boost-sandbox CVS (boost/typeof, libs/typeof). Thanks, Martin! Regards, Arkadiy

Arkadiy Vertleyb wrote:
Martin Wille <mw8329 <at> yahoo.com.au> writes:
Arkadiy Vertleyb wrote:
Hi all,
Does anybody have an access to an EDG-based compiler, and willing to help me to figure out whether a certain typeof test reports an ODR violation? I would very much appreciate this...
Would the online version of the Comeau compiler be sufficient? (see http://www.comeaucomputing.com/tryitout/ )
Otherwise, I would be able to compile and run a few tests for you using intel 8.1.
Martin provided a great help in porting the typeof library to como 4.3.3. After that he ran the tests in the strict mode (recommended by the Comeau support to increase the chances of ODR violation reporting).
*No ODR violation was reported*
The test was specificaly designed to cause the ODR violation. It is a part of the typeof library that can be found in the boost-sandbox CVS (boost/typeof, libs/typeof).
Was the link-time instantiation model being used? -- Dave Abrahams Boost Consulting http://www.boost-consulting.com

David Abrahams wrote:
Arkadiy Vertleyb wrote: [...]
*No ODR violation was reported*
The test was specificaly designed to cause the ODR violation. It is a part of the typeof library that can be found in the boost-sandbox CVS (boost/typeof, libs/typeof).
Was the link-time instantiation model being used?
No flags other than -A, --long-long and -I were used. Link-time instantiation is the default model como uses, so yes. Regards, m

Martin Wille wrote:
David Abrahams wrote:
Arkadiy Vertleyb wrote: [...]
*No ODR violation was reported*
The test was specificaly designed to cause the ODR violation. It is a part of the typeof library that can be found in the boost-sandbox CVS (boost/typeof, libs/typeof).
Was the link-time instantiation model being used?
No flags other than -A, --long-long and -I were used. Link-time instantiation is the default model como uses, so yes.
Great! -- Dave Abrahams Boost Consulting http://www.boost-consulting.com
participants (4)
-
Arkadiy Vertleyb
-
David Abrahams
-
Martin Wille
-
Stefan Slapeta