Questions tagged [compatibility]

This tag should be used to identify questions regarding compatibility issues, for example between different versions of the same software product or, development kit or library.

2979 questions
23
votes
1 answer

Why does AOSP add new APIs to support libraries without adding them to SDK?

I've been developing for Android for a few months now, and this question arises again and again: what is the motivation behind addition of completely new features (APIs) to support libraries without them being available in the standard…
Vasiliy
  • 16,221
  • 11
  • 71
  • 127
23
votes
5 answers

Is there a list of changes for C#4.0 that work in .Net 3.5?

I've been seeing a lot of C# 4.0 changes as of late. I really like some of them. Also though, I do not want to move on to .Net 4.0 for compatibility reasons just yet. So, is there a comprehensive list of new C# 4.0 language features that will work…
Earlz
  • 62,085
  • 98
  • 303
  • 499
22
votes
1 answer

How to maintain a .clang-format file for different clang-format versions?

This question extends Unify output with different clang-format versions. The problem is that the default behavior of clang-format varies for different version, even for the built-in styles. Quite frankly, I would like to ask why the developers did…
carlosvalderrama
  • 465
  • 1
  • 6
  • 22
22
votes
1 answer

Reasons for getting the Program Compatibility Assistant dialog?

What are possible reasons for getting the Program Compatibility Assistant dialog after my application closes? (source: microsoft.com) EDIT: Program Compatibility Assistant: frequently asked questions I realize this question has already been asked…
JohnB
  • 18,046
  • 16
  • 98
  • 110
22
votes
3 answers

git svn rebase resulted in "byte order is not compatible" error

Following is the error I am getting when I tried 'git svn rebase': Byte order is not compatible at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_retrieve.al) line 380, at /usr/lib/perl5/5.10/Memoize/Storable.pm line 21 The version…
yasouser
  • 5,113
  • 2
  • 27
  • 41
22
votes
4 answers

Python 2 vs. Python 3 - urllib formats

I'm getting really tired of trying to figure out why this code works in Python 2 and not in Python 3. I'm just trying to grab a page of json and then parse it. Here's the code in Python 2: import urllib, json response =…
Dan Lew
  • 85,990
  • 32
  • 182
  • 176
22
votes
5 answers

functional interfaces of java 8 in java 7

are the functional interfaces of java 8 available somewhere (i.e. a jar) so I can use them in a Java 7 project? that way I could later on easier port the code to idiomatic java 8. if not, is that technically possible or do they make use of new…
msung
  • 3,562
  • 3
  • 19
  • 30
22
votes
1 answer

What changes causes an ABI breaking in C++?

When the C++ standardization committee investigates modifications of the STL, a large attention is taken to not introduce ABI breaking changes. What causes ABI breaking and what do not introduce ABI breaking in C++ ? ((link to courses or document…
Vincent
  • 57,703
  • 61
  • 205
  • 388
21
votes
5 answers

Android Market - This application is available to over 0 devices?

I have published apk to the Android Market, activated and setup for free for all countries. Android Market says, my application is not compatible with any of the devices. I can see an application when I access Android Market from the PC browser but…
Lukasz
  • 19,816
  • 17
  • 83
  • 139
21
votes
5 answers

Build for Windows NT 4.0 using Visual Studio 2005?

An MFC application that I'm trying to migrate uses afxext.h, which causes _AFXDLL to get set, which causes this error if I set /MT: Please use the /MD switch for _AFXDLL builds My research to date indicates that it is impossible to build an…
Isaac Moses
  • 1,589
  • 6
  • 26
  • 44
21
votes
4 answers

Object doesn't support property or method 'entries'

I am working with the FormData object, while my code works well on Chrome, Microsoft Edge spits out the following error message Object doesn't support property or method 'entries' – which corresponds to the following code: for(let pair of…
mechanicious
  • 1,576
  • 2
  • 15
  • 32
21
votes
4 answers

What's the closest I can get to calling a Python function using a different Python version?

Say I have two files: # spam.py import library_Python3_only as l3 def spam(x,y) return l3.bar(x).baz(y) and # beans.py import library_Python2_only as l2 ... Now suppose I wish to call spam from within beans. It's not directly possible since…
leftaroundabout
  • 117,950
  • 5
  • 174
  • 319
21
votes
2 answers

How can I make a .NET Core class library and reference it from a .NET 4.6 project?

I want to: Make a class library that defines some interfaces and simple generic helper classes. It'll rely on generic collections and IQueryable but no third party dependencies (well, JetBrains.Annotations). Be able to reference that class…
Tim Long
  • 13,508
  • 19
  • 79
  • 147
21
votes
4 answers

python 2.7 equivalent of built-in method int.from_bytes

I'm trying to make my project python2.7 and 3 compatible and python 3 has the built in method int.from_bytes. Does the equivalent exist in python 2.7 or rather what would be the best way to make this code 2.7 and 3 compatible? >>>…
Fabian Barkhau
  • 1,349
  • 2
  • 12
  • 31
21
votes
1 answer

What happens when .NET 4.0 references a .NET 2.0 assembly?

What exactly does the .NET 4.0 runtime do if a .NET 4.0 executable contains a reference to a .NET 2.0 assembly? Is the .NET 2.0 assembly run with the .NET 4.0 runtime (in other words, .NET 4.0 must be 100% API-compatible to .NET 2.0) or does the…
Cygon
  • 9,444
  • 8
  • 42
  • 50