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 » U++ Library support » U++ Library : Other (not classified elsewhere) » Using VisualStudio as a main IDE (Compilation errors)
Re: Using VisualStudio as a main IDE [message #51350 is a reply to message #51338] Wed, 13 March 2019 19:05 Go to previous message
Lucas is currently offline  Lucas
Messages: 6
Registered: February 2019
Location: UK
Promising Member
I've set the compiler to use c++17 and last errors are gone but I got some new ones.
so it looks like this right now:


1>------ Build started: Project: HW, Configuration: Release x64 ------
1>main.cpp
1>c:\users\canis\dropbox\cpp\upp\uppsrc\core\json.h(4): error C2445: result type of conditional expression is ambiguous: types 'const char [5]' and 'Upp::String' can be converted to multiple common types
1>c:\users\canis\dropbox\cpp\upp\uppsrc\core\json.h(4): note: could be 'const char *'
1>c:\users\canis\dropbox\cpp\upp\uppsrc\core\json.h(4): note: or 'Upp::String'
1>c:\users\canis\dropbox\cpp\upp\uppsrc\core\json.h(5): error C2445: result type of conditional expression is ambiguous: types 'const char [5]' and 'Upp::String' can be converted to multiple common types
1>c:\users\canis\dropbox\cpp\upp\uppsrc\core\json.h(5): note: could be 'const char *'
1>c:\users\canis\dropbox\cpp\upp\uppsrc\core\json.h(5): note: or 'Upp::String'
1>Done building project "HW.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


And this is my project in zip file: https://www.dropbox.com/s/c25kyrfox9u1rd1/HW.zip?dl=0
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how can I draw on the top of a dockwindow?
Next Topic: RegExp::ReplaceGlobal() is buggy
Goto Forum:
  


Current Time: Mon Apr 21 06:27:47 CEST 2025

Total time taken to generate the page: 0.02490 seconds