Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler issues w/ VS2013 #25

Closed
jeremyerdmann opened this issue Apr 24, 2017 · 10 comments
Closed

Compiler issues w/ VS2013 #25

jeremyerdmann opened this issue Apr 24, 2017 · 10 comments

Comments

@jeremyerdmann
Copy link
Contributor

Hi John,

Thanks for your work with this project. It's a bit young, but I like the direction it appears to be heading and it seems like it could be a nice fit for me and some of my peers.

I'm having issues building with VS2013 and am curious if that is meant to build in that environment or only VS2015 & VS2017. I get the following 3 build errors in Visual Studio 2013 (after updating to use the V120 compiler):

  1. In src\power.h, it is looking for a declaration of uint64_t and not finding it. I am able to resolve by adding #include <stdint.h>, although that may not be the preferred way to go.
  2. In src\private\pvoidvector.h, it is not liking typename on line 75. This seems to be the same issue as one you fixed days back.
  3. In test\test_string_u16.cpp and test_string_u32.cpp, it doesn't like the STR macros (lines 40 in both). It doesn't like U or u (yield error C2065: 'u' : undeclared identifier).

I have fixes for 1 & 2, but am not familiar with Git enough to issue the right Git request for you to review and possibly merge if it makes sense (hence I'm opening an issue to notify you instead). It gives me a permission error when I try a "pull request", but perhaps I'm doing that incorrectly.

I don't yet have an answer for #3 yet (other than to exclude those 2 test files from the build). I don't understand the various 16bit and 32bit string variants to know if there is even a way to fix this with VS2013.

Perhaps of bigger concern, what is the best way to observe master functioning (without modifications). I'm not helping my cause by using VS2013, but I'm an embedded guy who doesn't update my Microsoft tools every year. If there's a quick start guide to get my setup configured the way you test, that would be awesome. I have a team of colleagues who are evaluating ETL as a potential replacement for our present home grown equivalent, but we'd like to know the PC test infrastructure can be built and run ideally without any modifications. Our embedded targets are typically ARM STM32s (using IAR tools) with the occasionally TI DSP (using CCS tools). I see the IAR support is very rough, we'd be willing to help beef that up a bit if we can convince ourselves that this library is in a stable state more often than not.

I'm curious about the Microsoft command line VS option (http://landinghub.visualstudio.com/visual-cpp-build-tools). I haven't looked into that much yet, but may peek as a possible resolution to my VS2013 woes. I'm only looking for a way to test what is checked in (and to possibly verify any fix I might propose before I issue a pull request back to master).

Thanks,

-Jeremy Erdmann

@jwellbelove
Copy link
Contributor

jwellbelove commented Apr 26, 2017 via email

@jwellbelove
Copy link
Contributor

jwellbelove commented Apr 26, 2017 via email

@jwellbelove
Copy link
Contributor

jwellbelove commented Apr 26, 2017 via email

@GatorQue
Copy link
Contributor

John,

Do you have any interest in using Travis CI and AppVeyor to test the code base? I have had some experience with these tools along with using Conan.io and could contribute this to the project to automatically compile each push against multiple versions of VS, Gcc, Clang, etc.

@jwellbelove
Copy link
Contributor

jwellbelove commented Apr 27, 2017 via email

@jwellbelove
Copy link
Contributor

jwellbelove commented Apr 27, 2017 via email

@jwellbelove
Copy link
Contributor

jwellbelove commented Apr 28, 2017 via email

@jeremyerdmann
Copy link
Contributor Author

jeremyerdmann commented Apr 28, 2017 via email

@jwellbelove
Copy link
Contributor

jwellbelove commented Apr 28, 2017 via email

@jwellbelove
Copy link
Contributor

jwellbelove commented Apr 28, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

3 participants