This page was last modified 16:28, 29 March 2007.
Backward compatibility
From Forum Nokia Wiki
Backward compatibility means compatible with earlier versions.
Binary Compatibility
Binary compatible means that code built for an older version will run on a newer version without rebuilding.
Few examples of binary-incompatible changes:
- removing a public/protected method/member
- changing access specifiers to more restrictive
- re-ordering exported functions; new exports should be added after the old ones
- changing/adding/removing/re-ordering virtual functions
- order of data members in a class is not important, just that the sum of their size (i.e. the class size) doesn't change.
Source Compatibility
Source compatible means that the code that depends on your component can be still built without changes on a newer version of your component.
Few examples of source-incompatible changes:
- removing a public/protected method/member
- changing access specifiers to more restrictive
- changing return type of functions
- changing function arguments
- changing constness
See also
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| NMIT40 Startupkit doesn't install. | Brett2078 | General Browsing | 1 | 2003-11-16 17:00 |
| Compatiblity between s603rd vs s603rd Feature Pack 1 | blizzz | Symbian Tools & SDKs | 4 | 2007-03-01 21:50 |
| S40 Version 2 themes compatibility | markpw1 | Themes/Carbide.ui | 2 | 2007-03-05 20:02 |
| Devices compatibility | france_int13 | Open C | 9 | 2007-09-07 10:00 |
| OS v8.0 vs 8.1 | jackylb | General Symbian C++ | 2 | 2005-10-07 04:42 |
