Re: [Boost-users] Re: ublas + msvc 7.1
I have noticed something similar with msvc 7.1. Could you try please to
locate
the first occurence of the error and prefix any template deduced type with
"typename".
In the example you give:
typename boost::numeric::SOME_MATRIX_TYPE<ARGS>::const_iterator2
and check that this precise compile error disappears ? (I have realised the
code
is boost::ublas').
This does not intend to solve your problem but to point to what vc7.1 is
expecting.
I am not sure whether that should be strict ISO C++.
Regards,
Cyril Godart.
Internet
fuxiaowei9999@hotmail.com@lists.boost.org - 25/11/2003 12:21
Please respond to boost-users@lists.boost.org
Sent by: boost-users-bounces@lists.boost.org
To: boost-users
cc:
Subject: [Boost-users] Re: ublas + msvc 7.1
Hi Whittley:
I think this may be a bug in VC7.1. I try it successly under VC6.0 and
find that the ublas is develop under VC6.0 with Dinkumware STL in its
document.
Yours
f_x_w
----- Original Message -----
From: "Witz"
hi,
I seem to be having problems with ublas in combination with msvc 7.1. Compiling the code below results in a whole slew of errors of the form:
'use of undefined type 'boost::numeric::SOME_MATRIX_TYPE<ARGS>::const_iterator2'
Am i doing something dumb or is something broken?
#include
int main() { using namespace boost::numeric::ublas; triangular_matrix
ldm(4,4); } I.M.Whittley
Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. --------------------------------------------- Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, BNP PARIBAS (et ses filiales) decline(nt) toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie.
I have tried the method but no use. The error still occur. In the matrix_expression.hpp,the const_itertaor2 class have be derclare before then define later as an embeded class. I find all errors happan in the embeded class define and report
"error C2027: use of undefined type 'boost::numeric::ublas::matrix_binary_scalar2
I have noticed something similar with msvc 7.1. Could you try please to locate the first occurence of the error and prefix any template deduced type with "typename". In the example you give:
typename boost::numeric::SOME_MATRIX_TYPE<ARGS>::const_iterator2
and check that this precise compile error disappears ? (I have realised the code is boost::ublas'). This does not intend to solve your problem but to point to what vc7.1 is expecting. I am not sure whether that should be strict ISO C++.
Regards,
Cyril Godart.
Internet fuxiaowei9999@hotmail.com@lists.boost.org - 25/11/2003 12:21
Please respond to boost-users@lists.boost.org
Sent by: boost-users-bounces@lists.boost.org
To: boost-users
cc:
Subject: [Boost-users] Re: ublas + msvc 7.1
Hi Whittley: I think this may be a bug in VC7.1. I try it successly under VC6.0 and find that the ublas is develop under VC6.0 with Dinkumware STL in its document. Yours f_x_w ----- Original Message ----- From: "Witz"
Newsgroups: gmane.comp.lib.boost.user Sent: Monday, November 24, 2003 9:09 AM Subject: ublas + msvc 7.1 hi,
I seem to be having problems with ublas in combination with msvc 7.1. Compiling the code below results in a whole slew of errors of the form:
'use of undefined type 'boost::numeric::SOME_MATRIX_TYPE<ARGS>::const_iterator2'
Am i doing something dumb or is something broken?
#include
int main() { using namespace boost::numeric::ublas; triangular_matrix
ldm(4,4); } I.M.Whittley
Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified.
---------------------------------------------
Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, BNP PARIBAS (et ses filiales) decline(nt) toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie.
participants (2)
-
cyril.godartï¼ bnpparibas.com
-
fuxiaowei