Discussion:
[ragel-users] Problem compiling
Jerry
2014-05-28 13:43:31 UTC
Permalink
?I downloaded the Windows vs2012 package on the site and when I opened it, It upgraded it to VS2013. When I attempted to compile it with VS2013. I got a compile?error on the following line:

Line 662??"??" << rbxGoto(ret, "_out") << "\n"

This line was part of the following void

void RbxGotoCodeGen::BREAK( ostream &ret, int targState )
{
?outLabelUsed = true;
?out <<
??"?begin\n"
??"??" << P() << " += 1\n"
??"??" << rbxGoto(ret, "_out") << "\n"
??"?end\n";
}

I am clueless can Anyone Help

Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.complang.org/pipermail/ragel-users/attachments/20140528/ee98f98a/attachment.html>
RU
2014-05-28 13:51:33 UTC
Permalink
Sorry, I don't have VisualStudio 2013. Could you post the error messages of the compiler?

jg
Jerry
2014-05-28 14:17:14 UTC
Permalink
Thanks for your Response Here is the error msg.

?1?IntelliSense: no operator "<<" matches these operands
??operand types are: std::basic_ostream<char, std::char_traits<char>> << std::ostream?c:\RagelCompiler\ragel-vs2012\Ragel 6.8\ragel-6.8\ragel\rbxgoto.cpp?662?8?Ragel


Jerry


On Wednesday, May 28, 2014 9:51 AM, RU <ragel-user at jgoettgens.de> wrote:



Sorry, I don't have VisualStudio 2013. Could you post the error messages of the compiler?

jg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.complang.org/pipermail/ragel-users/attachments/20140528/6f81adf7/attachment.html>
Jerry
2014-05-28 14:56:23 UTC
Permalink
Maybe I should of been more clear?by putting the error msg and code?all together

void RbxGotoCodeGen::BREAK( ostream &ret, int targState )
{
?outLabelUsed = true;
?out <<
??"?begin\n"
??"??" << P() << " += 1\n"
??"??" << rbxGoto(ret, "_out") << "\n"???

// This?previous line is generating?the following error and the "<<"? before rbxGoto(ret,"_out") is highlighted.
//?1?IntelliSense: no operator "<<" matches these operands
//??????????? operand types are: std::basic_ostream<char, std::char_traits<char>> << std::ostream?
// c:\RagelCompiler\ragel-vs2012 \Ragel 6.8\ragel-6.8\ragel\rbxgoto.cpp?662?8?Ragel


??"?end\n";
}

Short of fixing this error which I have no clue about. Is their a pre compiled version with windows installer?available anywhere. I need to get this installed.


Jerry


On Wednesday, May 28, 2014 10:17 AM, Jerry <drwar2000 at yahoo.com> wrote:



Thanks for your Response Here is the error msg.

?1?IntelliSense: no operator "<<" matches these operands
??operand types are: std::basic_ostream<char, std::char_traits<char>> << std::ostream?c:\RagelCompiler\ragel-vs2012\Ragel 6.8\ragel-6.8\ragel\rbxgoto.cpp?662?8?Ragel


Jerry


On Wednesday, May 28, 2014 9:51 AM, RU <ragel-user at jgoettgens.de> wrote:



Sorry, I don't have VisualStudio 2013. Could you post the error messages of the compiler?

jg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.complang.org/pipermail/ragel-users/attachments/20140528/bd732432/attachment.html>
Loading...