Message: Re: Compilation issues on Windows 10 using Visual Studio 2015 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Re: Compilation issues on Windows 10 using Visual Studio 2015 

Forum: Installation and Configuration
Re: None Compilation issues on Windows 10 using Visual Studio 2015 (Youming Yang)
Re: None Re: Compilation issues on Windows 10 using Visual Studio 2015 (Youming Yang)
Date: 25 Jul, 2016
From: <hli.thu11@gmail.com>

Hi Ming,

I got the similar problem when install G4.10.02 on Win7 with VS2015. Did you solve your problem with VS2010? I can still see some "warning LNK4221" in your attached file.

Hong

On Sat, 23 Apr 2016 23:19:59 GMT, Youming Yang wrote:

> HI all,
> 
> As a sanity check, compilation of G4 10.01p03 using VS2010 (C++98
> standard) compiled successfully. Output attached.
> 
> The compilation of the same code on VS2015 (c++98 standard also) failed
> as I mentioned originally. Again this issue seemed to stem from lines of
> code in xmlparse.cc:
> 
> 18>C:\geant\geant4_10_01_p03\source\externals\expat\src\xmlparse.cc(1912):
> error C3688: invalid literal suffix 'L'; literal operator or literal
> operator template 'operator ""L' not found
> 
> Which I'm guessing does not play well with some internal changes between
> the c++98 implemetnations VS2010 and VS2015.
> 
> If there is a portable, robust way to modify the code in xmlparse.cc to
> allow VS2015 compilation I'd be grateful to hear it.
> 
> Also, I use windows and Visual studio strictly for debugging, and
> perform data runs on Linux clusters (which also is why my original issue
> of compiling 10.02 on VS2015 in debug mode with too many debug symbols
> is also a deal breaker).
> 
> thank you all again, Ming
> 
>    Attachment:
>       http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2016/04/23/15.52-30348-2010.txt
> 

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Compilation issues on Windows 10 using Visual Studio 2015   (Youming Yang - 13 Aug, 2016)
(_ None: Re: Compilation issues on Windows 10 using Visual Studio 2015   (hli.thu11@gmail.com - 23 Aug, 2016)
 Add Message Add Message
to: "Re: Compilation issues on Windows 10 using Visual Studio 2015"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]