Questions tagged [compiler-version]

22 questions
0
votes
0 answers

Size differance of JOptionPane dialog box between java versions

I created a simple dialog box using JOptionPane but when I run it with Java 8 the dialog box is extremely small, however when running with Java 18 the size is reasonably normal. Why is there a differance between those versions and how to fix the…
0
votes
2 answers

Get java compiler version of a class file using xxd

I need to get the version of java that was used to compile a class file from a linux machine that doesn't have java. I have learned from a comment on this post that this is possible using xxd. Alternatively, if you open the class file in a hex…
Jack J
  • 1,514
  • 3
  • 20
  • 28
0
votes
0 answers

Why am I getting "string_view: No such file or directory"

I am trying to build my project over a cmake file. And started to get: fatal error: string_view: No such file or directory For the line below: // Your First C++ Program #include int main() { std::cout << "Hello World!"; …
Meric Ozcan
  • 678
  • 5
  • 25
0
votes
1 answer

What C standard does XC16 v1.5 use by default?

I can't find a clear answer to what C standard Microchip's XC16 v1.5 compiler use by default (xc16-gcc -> options = empty). We clearly get a different result if we specify it to -std=C99, but from what?!?
Max Kielland
  • 5,627
  • 9
  • 60
  • 95
0
votes
1 answer

Linking a C (C++) application with the PostgreSQL client library libpq.lib

I am trying to build an application in Visual Studio 2013, linking with the libpq.lib library downloaded with the binary installer for PostgreSQL version 9.4 for Windows. I get this error: LNK2038: mismatch detected for '_MSC_VER': value '1800'…
Arild
  • 1
  • 1
0
votes
1 answer

Is it possible to force VS 2013 to use VS 2010 compiler for compiling?

I want to wrap a library for python. Python is compiled with VS2010 and I have VS2013. Is it possible to force VS2013 to compile like VS2010? PS. I have tried, unless the version of compiler that compiled python and the compiler that compiles the…
Navid
  • 251
  • 1
  • 12
-1
votes
1 answer

syntax failure with vector of vectors

I read the article Initializing a vector of vectors having a fixed size with boost assign which should exactly meet my demands: initializing a matrix-like vector of a vector that can be arbitrarily expanded in both directions (I want to use it to…
BlueFire
  • 3
  • 4
1
2