Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » MSC15 and 2014 sources - problem with Stream
Re: MSC15 and 2014 sources - problem with Stream [message #46744 is a reply to message #46743] Fri, 22 July 2016 10:23 Go to previous messageGo to previous message
NilaT is currently offline  NilaT
Messages: 70
Registered: November 2011
Location: Austria
Member
In this particular example, no.
My code starts as following:
CONSOLE_APP_MAIN
{
    String cmd = "";
    const Vector<String>& argc = CommandLine(); 
    if (argc.GetCount()>0)
        cmd = argc[0];

    bool progCheck = true;
    for (int c=0;c<argc.GetCount();c++)
    {
   		//if(_stricmp(argv[c], "noProgCheck") == 0)
   		if(argc[c] == "noProgCheck")
		{	progCheck = false;
			break;
		}
    }
  
    Cout() << "\n-----------------------------------\n";
    Cout() << PROG_DESCRIPTION;
    Cout() << "   ";
    Cout() << PROG_COPYRIGHT;
    Cout() << "\n";
    Cout() << "Rel.: ";
    Cout() << PROG_VERSION;
    Cout() << " / ";
    Cout() << DATABASE_VERSION;
    Cout() << " ";
    Cout() << cmd;
    Cout() << "\n-----------------------------------\n";


and crashes at the very first Cout().
We use sockets in this program as well, that's why we need MT.

It seems to be a compiler problem, as it happens with 2014 sources and 2015 sources.
The funny thing is, that my little testprogram worked...
And when we compile our program with older upp (same sources though), and older compiler (VS2012) it works fine.

Do you know any compiler flag we should try??
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: StdDisplayClass - a very useful class. Expand for all fonts
Next Topic: [Solved] Instant Upp crash on char input
Goto Forum:
  


Current Time: Fri Jun 14 04:31:54 CEST 2024

Total time taken to generate the page: 0.02209 seconds