sunstudio
template friend of template class fails in Sun Studio C++
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[详细]
2023-04-13 05:38 分类:问答Sun compiler's equivalent of gcc's __sync_fetch_and_add? aka Oracle Studio 12.2
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[详细]
2023-03-02 18:03 分类:问答Warning: should not initialize a non-const reference with a temporary
I get the warning from the title on Sun Studio 12.1 with the following snippet: #include <vector>[详细]
2023-02-26 15:59 分类:问答Zero sized arrays and array bounds checking
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[详细]
2023-02-24 05:44 分类:问答Linking Error in Sun Studio 10 under Solaris
I wrote a test program like this: #include <sys/socket.h> int main( void ) { intsock = socket(AF_INET, SOCK_DGRAM, 0);[详细]
2023-01-19 17:50 分类:问答error while loading shared libraries: libCstd.so.1: cannot open shared object file: No such file or directory
error while loading shared libraries: libCstd.so.1: cannot open share开发者_运维知识库d object file: No such file or directory.[详细]
2023-01-12 19:08 分类:问答Is there a way to speed up C++ compilation times in Solaris Sun Studio 12?
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[详细]
2023-01-06 17:40 分类:问答Sun Studio C++ "is not terminated with a newline" warning - how to suppress?
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:[详细]
2022-12-14 01:31 分类:问答difference between -h <name> and -o <outputfile> options in cc (C++)
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++) ?[详细]
2022-12-13 12:42 分类:问答