[Scip] template<typename T> T* docast(T*, void *v) { return reinterpret_cast<T*>(v); } in SCIP 1.2

michael.winkler@zib.de michael.winkler at zib.de
Thu Aug 26 11:35:14 MEST 2010


Hi,

what compiler and what compiler-version du you use.

Best, Michael

>
>   Hey,
>
> I recently upgraded from SCIP 1.1 to 1.2 and now I get the following
> error:
> 4>Z:\sr721\scip-1.2.0\src\blockmemshell/memory.h(33): error C2894:
> templates cannot be declared to have 'C' linkage
> it's caused by statement template<typename T> T* docast(T*, void *v) {
> return reinterpret_cast<T*>(v); } of file memory.h
> I checked and the line doesn't exist in my 1.1 version of memory.h.
>
> What do I need to do?
> Thank you
> Sebastian
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> http://listserv.zib.de/mailman/listinfo/scip
>



More information about the Scip mailing list