Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for __GNUC__ (0.11 sec)

  1. platforms/documentation/docs/src/snippets/native-binaries/target-platforms/groovy/src/main/cpp/main.cpp

    int main () {
        #if defined(__clang__)
            std::cout << "Hello from clang!" << std::endl;
        #elif defined(__GNUC__) && defined(__MINGW32__)
            std::cout << "Hello from mingw!" << std::endl;
        #elif defined(__GNUC__) && defined(__CYGWIN__)
            std::cout << "Hello from gcc cygwin!" << std::endl;
        #elif defined(__GNUC__)
            std::cout << "Hello from gcc!" << std::endl;
        #elif defined(_MSC_VER)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 615 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/tool-chains/groovy/src/main/cpp/main.cpp

    int main () {
        #if defined(__clang__)
            std::cout << "Hello from clang!" << std::endl;
        #elif defined(__GNUC__) && defined(__MINGW32__)
            std::cout << "Hello from mingw!" << std::endl;
        #elif defined(__GNUC__) && defined(__CYGWIN__)
            std::cout << "Hello from gcc cygwin!" << std::endl;
        #elif defined(__GNUC__)
            std::cout << "Hello from gcc!" << std::endl;
        #elif defined(_MSC_VER)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 615 bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CCompilerDetectingTestApp.groovy

                    #if defined(__clang__)
                        printf("clang");
                    #elif defined(__GNUC__) && defined(__MINGW32__)
                        printf("mingw");
                    #elif defined(__GNUC__) && defined(__CYGWIN__)
                        printf("gcc cygwin");
                    #elif defined(__GNUC__)
                        printf("gcc");
                    #elif defined(_MSC_VER)
                        printf("visual c++");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppCompilerDetectingTestApp.groovy

                    #if defined(__clang__)
                        printf("clang");
                    #elif defined(__GNUC__) && defined(__MINGW32__)
                        printf("mingw");
                    #elif defined(__GNUC__) && defined(__CYGWIN__)
                        printf("gcc cygwin");
                    #elif defined(__GNUC__)
                        printf("gcc");
                    #elif defined(_MSC_VER)
                        printf("visual c++");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/metadata/GccMetadataProviderTest.groovy

    #define __GNUC_PATCHLEVEL__ 1
    #define __GNUC__ 4
    #define __INTMAX_C(c) c ## LL
    #define __REGISTER_PREFIX__ """
        static def gcc3 = """#define __gnu_linux__ 1
    #define __GNUC_PATCHLEVEL__ 4
    #define __GNUC__ 3
    #define __GNUC_MINOR__ 3
    """
        static def gccMajorOnly = """#define __gnu_linux__ 1
    #define __GNUC__ 3
    """
        static def gccNoMinor = """#define __gnu_linux__ 1
    #define __GNUC__ 3
    #define __GNUC_PATCHLEVEL__ 4
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 16 06:01:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/gcc/metadata/GccMetadataProvider.java

                }
            } catch (IOException e) {
                // Should not happen reading from a StringReader
                throw new UncheckedIOException(e);
            }
            if (!defines.containsKey("__GNUC__") && !defines.containsKey("__clang__")) {
                throw new BrokenResultException(String.format("Could not determine %s metadata: %s produced unexpected output.", compilerType.getDescription(), gccBinary.getName()));
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 15 06:39:06 UTC 2024
    - 13K bytes
    - Viewed (0)
  7. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    #define GTEST_PROJECT_URL_ "http://code.google.com/p/googletest/"
    
    // Determines the version of gcc that is used to compile this.
    #ifdef __GNUC__
    // 40302 means version 4.3.2.
    # define GTEST_GCC_VER_ \
        (__GNUC__*10000 + __GNUC_MINOR__*100 + __GNUC_PATCHLEVEL__)
    #endif  // __GNUC__
    
    // Determines the platform on which Google Test is compiled.
    #ifdef __CYGWIN__
    # define GTEST_OS_CYGWIN 1
    #elif defined __SYMBIAN32__
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 67.2K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    #define GTEST_PROJECT_URL_ "http://code.google.com/p/googletest/"
    
    // Determines the version of gcc that is used to compile this.
    #ifdef __GNUC__
    // 40302 means version 4.3.2.
    # define GTEST_GCC_VER_ \
        (__GNUC__*10000 + __GNUC_MINOR__*100 + __GNUC_PATCHLEVEL__)
    #endif  // __GNUC__
    
    // Determines the platform on which Google Test is compiled.
    #ifdef __CYGWIN__
    # define GTEST_OS_CYGWIN 1
    #elif defined __SYMBIAN32__
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 67.2K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h.pump

    // more.
    
    #ifndef GTEST_INCLUDE_GTEST_INTERNAL_GTEST_TYPE_UTIL_H_
    #define GTEST_INCLUDE_GTEST_INTERNAL_GTEST_TYPE_UTIL_H_
    
    #include "gtest/internal/gtest-port.h"
    
    // #ifdef __GNUC__ is too general here.  It is possible to use gcc without using
    // libstdc++ (which is where cxxabi.h comes from).
    # if GTEST_HAS_CXXABI_H_
    #  include <cxxabi.h>
    # elif defined(__HP_aCC)
    #  include <acxx_demangle.h>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  10. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h.pump

    // more.
    
    #ifndef GTEST_INCLUDE_GTEST_INTERNAL_GTEST_TYPE_UTIL_H_
    #define GTEST_INCLUDE_GTEST_INTERNAL_GTEST_TYPE_UTIL_H_
    
    #include "gtest/internal/gtest-port.h"
    
    // #ifdef __GNUC__ is too general here.  It is possible to use gcc without using
    // libstdc++ (which is where cxxabi.h comes from).
    # if GTEST_HAS_CXXABI_H_
    #  include <cxxabi.h>
    # elif defined(__HP_aCC)
    #  include <acxx_demangle.h>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top