Thread: [Cppcms-users] message board fails to build
Brought to you by:
artyom-beilis
|
From: Marcel H. <ke...@co...> - 2013-01-20 11:19:15
Attachments:
signature.asc
error.txt
|
Hello everyone, If I try to build the message board example, it will fail with some nasty errors (see attached log). I am on cppcms/cppdb master. Can anyone confirm/fix this? Regards Marcel Hellwig |
|
From: Marcel H. <ke...@co...> - 2013-01-20 17:58:54
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 20.01.2013 12:00, schrieb Marcel Hellwig: > Hello everyone, > > If I try to build the message board example, it will fail with > some nasty errors (see attached log). I am on cppcms/cppdb master. > > Can anyone confirm/fix this? > I found a solution by myself. If you try to compile it with std=c++11 it will work fine. Regarding to this page[0] the foreach loop is the bad guy. Maybe you have other suggestions? [0] http://cppcms.com/wikipp/en/page/cppcms_1x_templates_flow#Type.detection > Regards Marcel Hellwig -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJQ/DBVAAoJEIROXYQnkAHpyuUP/iuTACHUJVBtOmMQeXW/sajd 59n4lJfF4Zcw5MgaQfzm22o8Z6Y7t8E7EBUZrvp57jbkLgtFHOdY371cMLl2Ztpo 5ExE7Smg+33aFcZUuC3PSLCTmP3nCix9ub4q2gsZhuaMWBptRhT+cn2aYWHcSig3 H97DeXmIiL3hPuv50WnWIKsm+TBrGqKEwwCYaJq0UVUdkHYShc1TDqZ3l1wQTc1k cbAmXgJC/l44abQvql/61r2DPAUj9k1zv6KDNLY3iaf/FYiddZzxdp3fVU9sUyhO sOCbZauGTHhOONE7ugYHdiiVzgTMaXNlqJ1xJVMutuWI0w3g0Pe/AmtWwd07+s7K kL+pQLRKoe+q3JqBJ7tJ6jePOryzN5mCxCqBp26twIcqTc8+XzeLH+1cLxUpbjYn 8dGYZUwz6T6ctscNrALPDquOG2v7QvLmP8LX0eShXyRNROFMFAIz1Okl9FeCbECM X3tPhlHp2TkmMC9stQ24DSdVeu9TBY7WYI6OPDTcuMpw5f3Qyq06rrMa6AYXxa+F umZ95Eed+b1BiZhZS8rRqhpxDaiHOLyQ6aBkdKImWEtizav+Qxxoe4t22Y086k3d Bi9v4H/TJOoAMdB6s6rAgGHw+a9Yq8YpLIeWDkPnqODKKGVxouV+KxB9vsxKQhLb biohF2hew0s+NqvELbJW =48LY -----END PGP SIGNATURE----- |
|
From: Artyom B. <art...@ya...> - 2013-01-20 19:00:31
|
1. Try to upgrade CppCMS, because in 1.0.3 the automatic type detection is already done in headers. 2. It may happen if you build CppCMS in C++11 mode and use in C++03, also I think it shouldn't be a problem in latest stable version. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ ----- Original Message ----- > From: Marcel Hellwig <ke...@co...> > To: cpp...@li... > Cc: > Sent: Sunday, January 20, 2013 7:58 PM > Subject: Re: [Cppcms-users] message board fails to build > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Am 20.01.2013 12:00, schrieb Marcel Hellwig: >> Hello everyone, >> >> If I try to build the message board example, it will fail with >> some nasty errors (see attached log). I am on cppcms/cppdb master. >> >> Can anyone confirm/fix this? >> > I found a solution by myself. If you try to compile it with std=c++11 > it will work fine. > Regarding to this page[0] the foreach loop is the bad guy. Maybe you > have other suggestions? > > [0] > http://cppcms.com/wikipp/en/page/cppcms_1x_templates_flow#Type.detection >> Regards Marcel Hellwig > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.13 (GNU/Linux) > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQIcBAEBAgAGBQJQ/DBVAAoJEIROXYQnkAHpyuUP/iuTACHUJVBtOmMQeXW/sajd > 59n4lJfF4Zcw5MgaQfzm22o8Z6Y7t8E7EBUZrvp57jbkLgtFHOdY371cMLl2Ztpo > 5ExE7Smg+33aFcZUuC3PSLCTmP3nCix9ub4q2gsZhuaMWBptRhT+cn2aYWHcSig3 > H97DeXmIiL3hPuv50WnWIKsm+TBrGqKEwwCYaJq0UVUdkHYShc1TDqZ3l1wQTc1k > cbAmXgJC/l44abQvql/61r2DPAUj9k1zv6KDNLY3iaf/FYiddZzxdp3fVU9sUyhO > sOCbZauGTHhOONE7ugYHdiiVzgTMaXNlqJ1xJVMutuWI0w3g0Pe/AmtWwd07+s7K > kL+pQLRKoe+q3JqBJ7tJ6jePOryzN5mCxCqBp26twIcqTc8+XzeLH+1cLxUpbjYn > 8dGYZUwz6T6ctscNrALPDquOG2v7QvLmP8LX0eShXyRNROFMFAIz1Okl9FeCbECM > X3tPhlHp2TkmMC9stQ24DSdVeu9TBY7WYI6OPDTcuMpw5f3Qyq06rrMa6AYXxa+F > umZ95Eed+b1BiZhZS8rRqhpxDaiHOLyQ6aBkdKImWEtizav+Qxxoe4t22Y086k3d > Bi9v4H/TJOoAMdB6s6rAgGHw+a9Yq8YpLIeWDkPnqODKKGVxouV+KxB9vsxKQhLb > biohF2hew0s+NqvELbJW > =48LY > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnmore_123012 > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |
|
From: Marcel H. <ke...@co...> - 2013-01-20 19:26:37
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 20.01.2013 20:00, schrieb Artyom Beilis: > 1. Try to upgrade CppCMS, because in 1.0.3 the automatic type > detection is already done in headers. As I said, i am on master (it's a term from git, but I think it exist in svn too. Means i have the latest svn revision checked out) > 2. It may happen if you build CppCMS in C++11 mode and use in > C++03, also I think it shouldn't be a problem in latest stable > version. But there was the problem. I built it again with c++03 standard and now it works fine. Thanks. > > Artyom Beilis -------------- Regards, -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJQ/ETlAAoJEIROXYQnkAHp1g8P/RLVCIMNq09dV6pyzyHDmbvR vUYyriZM8aYBVK3Cw44FKXOzxcK9e+zgPkOO+SJ1V7xuIINBXVYQXXr4sRfPn9ii Ond3fpBkjPx2dNvOVqEB81LBndZKH0q4EgZw8g9C/Js735jIyGvHdaoN1m+oZffF R52wHszw+o5gYyRvLf6tp8EArPIK1fkcNwarLc09CKq+0GRn1vxkKY/gnmmQx/2b vaQG7qqnXY6nLgssyhzLCWwOzqtnb5p9TGr/jNCUkAwVA1pZcOXWAUsafQqop/+2 k+A148/VWC7+hqcziIzKSgQAp2kRKCTOF3e9lgKmS8Z3Tx4y5GsAotwBterE+bUs FUGriUAHQVEiJMvGVUxBA3RkCJwAxb6elXqmTfBcWTJGHvRo9I2+HVTbSxStnUZq 3E2PEuKEaMqwkiIklMQxk9/wWvc7YBmCxGLwvKpvuvX1v4JU9zn3UPMzC95J3kJq W0GDr23DIIgNhTFg7U0lvGveelU2oXG0H3RDNMMcay4m1poYSWeaJ1998kCFjxG9 RO4gFhji6UgAqPrUkQTSagAm4VJoFMHhHDog5GC2bUC6EznUSTYWRJs82YkXfzYy 5Ef5ov07rx1y2ksKBTvYM5PfiVCPRQt/gMoCIKESGFuPv//mlfuUgE2uIaCex4nn +ARcrfpMkNZYzsJ32r2i =Uwjq -----END PGP SIGNATURE----- |
|
From: Artyom B. <art...@ya...> - 2013-01-21 07:47:17
|
Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >________________________________ > From: Marcel Hellwig <ke...@co...> >To: Artyom Beilis <art...@ya...>; cpp...@li... >Sent: Sunday, January 20, 2013 9:26 PM >Subject: Re: [Cppcms-users] message board fails to build > >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Am 20.01.2013 20:00, schrieb Artyom Beilis: >> 1. Try to upgrade CppCMS, because in 1.0.3 the automatic type >> detection is already done in headers. >As I said, i am on master (it's a term from git, but I think it exist >in svn too. Means i have the latest svn revision checked out) Are you using the correct SVN repo? Recently (several months ago) the repository migrated to the new location: See: http://cppcms.com/wikipp/en/page/cppcms_1x_build#Getting.The.Sources Regards Artyom |
|
From: Marcel H. <ke...@co...> - 2013-01-21 10:17:09
Attachments:
signature.asc
|
>> >> Am 20.01.2013 20:00, schrieb Artyom Beilis: >>> 1. Try to upgrade CppCMS, because in 1.0.3 the automatic type >>> detection is already done in headers. >> As I said, i am on master (it's a term from git, but I think it exist >> in svn too. Means i have the latest svn revision checked out) > > > Are you using the correct SVN repo? > > Recently (several months ago) the repository migrated to > the new location: > > See: http://cppcms.com/wikipp/en/page/cppcms_1x_build#Getting.The.Sources > Come on Artyom. I wrote you 2 weeks ago to change the url on the sourceforge page, do you remember? And to prove it: svn info Path: . Working Copy Root Path: /home/marcel/tmp/cppcms/cppcms URL: http://svn.code.sf.net/p/cppcms/code/framework/trunk Repository Root: http://svn.code.sf.net/p/cppcms/code Repository UUID: 831565cc-8e21-4ad5-8334-98019c97bd36 Revision: 2238 Node Kind: directory Schedule: normal Last Changed Author: artyom-beilis Last Changed Rev: 2238 Last Changed Date: 2013-01-09 21:39:06 +0100 (Wed, 09 Jan 2013) Regards |