Questions tagged [backwards-compatibility]

Backward compatibility refers to a software or hardware system that can successfully use interfaces and data from earlier versions of the system.

1060 questions
52
votes
1 answer

Is Visual Studio 2012 csproj backward compatible with 2010?

The question is if can I use safely Visual Studio 2012 to edit projects properties, add and remove solutions, references, all related to NET 4.0 Framework. I remember in the past some files might be "corrupted", while Visual Studio 2010 changed some…
Junior Mayhé
  • 16,144
  • 26
  • 115
  • 161
51
votes
4 answers

Why does aggregate initialization not work anymore since C++20 if a constructor is explicitly defaulted or deleted?

I'm migrating a C++ Visual Studio Project from VS2017 to VS2019. I'm getting an error now, that didn't occur before, that can be reproduced with these few lines of code: struct Foo { Foo() = default; int bar; }; auto test = Foo { 0 }; The…
sebrockm
  • 5,733
  • 2
  • 16
  • 39
49
votes
14 answers

Are there any specific examples of backward incompatibilities between Java versions?

Have there been incompatibilities between Java releases where Java source code/Java class files targeting Java version X won't compile/run under version Y (where Y > X) ? By "Java release" I mean versions such as: JDK 1.0 (January, 1996) JDK 1.1…
knorv
  • 49,059
  • 74
  • 210
  • 294
47
votes
3 answers

what's the difference between -source and -target compatibility?

When using the Java compiler (javac), we can specify two kinds of compatibility. One is using -source and the other is using -target. What is the difference between these two? For example, -source 1.5 and -target 1.6? Also, is there any case where…
Adam Lee
  • 24,710
  • 51
  • 156
  • 236
45
votes
2 answers

Is Visual Studio 2017 backwards compatible with Visual Studio 2015 solutions?

I'm thinking about installing VS 2017 and using it for work. The free download is here. So is Visual Studio 2017 RC backwards compatible with Visual Studio 2015 solutions? The release notes mention it here. Just wondering if someone did this and if…
toddmo
  • 20,682
  • 14
  • 97
  • 107
42
votes
3 answers

Why not remove type erasure from the next JVM?

Java introduced type erasure with generics in Java 5 so they would work on old versions of Java. It was a tradeoff for compatibility. We've since lost that compatibility[1] [2] [3]--bytecode can be run on later versions of the JVM but not earlier…
Prime
  • 4,081
  • 9
  • 47
  • 64
41
votes
5 answers

How well does jQuery support backward compatibility?

We have had issues with Mootools not being very backward compatible specifically in the area of drag and drop functionality. I was wondering if anyone has had any similar problems with jQuery not being backward compatible. We are starting to use it…
Josh Mein
  • 28,107
  • 15
  • 76
  • 87
39
votes
4 answers

Will TortoiseSVN 1.7 work properly against a SVN 1.6 repository?

I would like to upgrade my TortoiseSVN installation to version 1.7. We have a VisualSVN server running with a SVN 1.6 repository. Do I need to upgrade the repository to 1.7 before I can update my client, or is TortoiseSVN backwards compatible? I…
34
votes
2 answers

Usable case of pointer to array with unspecified bounds in C++ (not in C)

Consider following code: int main() { int (*p)[]; // pointer to array with unspecified bounds int a[] = {1}; int b[] = {1,2}; p = &a; // works in C but not in C++ p = &b; // works in C but not in C++ return 0; } In pure C…
αλεχολυτ
  • 4,792
  • 1
  • 35
  • 71
33
votes
7 answers

Is HTTP/1.0 still in use?

Say one is to write an HTTP server/client, how important is it to support HTTP/1.0? Is it still used anywhere nowdays? Edit: I'm less concerned with the usefullness/importance of HTTP/1.0, rather the amount of software that actually uses it for…
cvb
  • 4,321
  • 6
  • 26
  • 19
32
votes
2 answers

Which parts of the C++14 Standard Library could be and which parts will be made constexpr?

With the new relaxed C++14 constexpr rules, compile-time programming becomes a lot more expressive. I wonder whether the Standard Library will also be upgraded to take advantage. In particular, std::initializer_list, std::pair, std::tuple,…
TemplateRex
  • 69,038
  • 19
  • 164
  • 304
31
votes
4 answers

How to deal with deprecated classes in Android to keep compatibility

I am getting back to work on an app I worked on a while ago, when I had everything built around Android 2.2 Froyo. I have updated my SDK for the latest APIs and noticed that the ClipboardManager features I was using are deprecated. I updated the…
HXCaine
  • 4,228
  • 3
  • 31
  • 36
31
votes
8 answers

Should I use _T or _TEXT on C++ string literals?

For example: // This will become either SomeMethodA or SomeMethodW, // depending on whether _UNICODE is defined. SomeMethod( _T( "My String Literal" ) ); // Becomes either AnotherMethodA or AnotherMethodW. AnotherMethod( _TEXT( "My Text" ) ); I've…
Joe
  • 16,328
  • 12
  • 61
  • 75
30
votes
5 answers

Strategies for Honeycomb & backward compatibility

So we've seen the preview sdk and the neat new stuff like ActionBar and Fragments. Making a lot of method calls will be unavoidable to make use of these, so what strategies are there for maintaining 1 version of the app, which will let me use all…
Al.
  • 2,285
  • 2
  • 22
  • 30
29
votes
6 answers

How do I convert my Eclipse project to an earlier Java version?

I have a project in Eclipse which previously used JRE7 and referenced the JRE7 system libraries. I absolutely need it to now run in JRE6. I have not used any Java 7 specific syntax so the source code itself is entirely compatible. Here is what I…
Jonathan
  • 1,256
  • 4
  • 12
  • 18
1
2
3
70 71