I have a problem with giving a template class a template friend in Sun Studio. The code compiles fine with GNU G++ (4.4.1 and 4.4.3), but fails with Sun Studio C++ (5.9 SunOS_sparc Patch 124863-01 200
Does the Oracle (Sun) Studio 12.2 C/C++/Fortran c开发者_运维知识库ompiler for Linux 64-bit have an equivalent to the __sync_fetch_and_add function that is provided in gcc?I can\'t seem to find the wra
I get the warning from the title on Sun Studio 12.1 with the following snippet: #include <vector>
When compiled with either GNU Fortran (v4.4.3) or Sun Studio F95 (v8.3) and no array bounds checking the following program runs without error.However, when array bounds checking is switched on (gfortr
I wrote a test program like this: #include <sys/socket.h> int main( void ) { intsock = socket(AF_INET, SOCK_DGRAM, 0);
error while loading shared libraries: libCstd.so.1: cannot open share开发者_运维知识库d object file: No such file or directory.
Sinc开发者_高级运维e I am compiling my C++ code on a very server box (32 or 64 cores in total), is there a way of tweaking compiler options to speed up the compilation times? E.g. to tell compiler to
I have ported a fair bit of code from Win to Solaris, one of the issues I have - I am getting a heaps of warnings:
I am building .so library and was wondering - what is the differenc开发者_JAVA技巧e b/w -hand -occ complier option (using the Sun Studio C++) ?