I am currently writing a library and am considering moving from GCC 4.1.2 to 4.5.2 (latest release) of GCC. If I compile my code into a static library can I assume compiler compatibility (on the same OS obviously) should be a non-issue for clients?
EDIT
To further clarify: if I provide a client a statically linked library compiled with gcc 4.5.2, what restrictions does this place on users of this library in terms of the compiler and version they must use?
Just came across this which I believe answers my question from http://gcc.gnu.org/bugs/#nonbugs:
From this as I understand it I’ll need to ensure clients are linking my library in with a major-release compatable version of gcc.