iZZiSwift

iZZiSwift

Learning by Sharing Swift Programing and more …

  • Swift Programming
    • Swift Language
    • i0S Swift Issue
  • Devices
  • MacOS
  • Python Programming
  • Kotlin Programming
  • Memo

Tag: clang++

Swift custom framework – Merge-module command failed with exit code 1

January 4, 2021 James Cameron

Question or problem in the Swift programming language: As we’ve created our own Swift based framework, build it and deploy it into the master project, the following error occurs:

Continue Reading
MacOS X Document shortcuts

Swift: declaration ‘description’ cannot override more than one superclass declaration

January 2, 2021 Ogima Cooper

Question or problem in the Swift programming language: I have a structure of inheritance similar to the one below. I’m adopting the Printable protocol and diligently override description property. I have encountered a bizarre error that seems to be unknown to Google at this point in time, that is prompted for the Third class, and […]

Continue Reading

Why does “empty” loop cause bus error when compiling C program with clang -O2 on macOS?

December 30, 2020 Aba Tayler

Question or issue on macOS: I’m on macOS High Sierra.

Continue Reading

Forcing Clang to link with C++ runtime

December 30, 2020 Odhran Miss

Question or issue on macOS: I have a project containing a mixture of C and C++ source. It currently builds with GCC on OS X. The project has bespoke build scripts which invoke the gcc command to compile both the C and C++ source, and separately invoke the linker.

Continue Reading

How do I get the new C++ threading support on Mac OS X with clang?

December 30, 2020 James Cameron

Question or issue on macOS: I just want to compile the following program on Mac OSX 10.8 using Apple clang version 4.1 (tags/Apple/clang-421.11.66):

Continue Reading

How to connect to a docker container from outside the host (same network) [OSX 10.11]

December 30, 2020 James Cameron

Question or issue on macOS: How to solve this problem? Solution no. 1: That 192.168.99.101 is Docker host’s IP address internal to Computer A. You only need to config port forwarding from defaut‘s port 8069 to host machine’ port 8069. Then odoo will be accessible by computer B with computer A’s ip address(ex: 10.0.1.22) plus […]

Continue Reading

Compile with c++17 mac

December 30, 2020 Simon Abital

Question or issue on macOS: I can’t compile with -std=c++17, I got :

Continue Reading

What are the consequences of omitting @autoreleasepool { } in main()?

December 27, 2020 Oceane Wilson

Question or issue on macOS: Why do the Xcode 4.x templates for Objective-C command-line and iOS programs add the @autoreleasepool {} part wrapping main()’s code? Note that this doesn’t happen for the OS X application template.

Continue Reading

Disable assembler warning “.section __TEXT,__textcoal_nt,coalesced,pure_instructions”

December 27, 2020 Ollie MC

Question or issue on macOS: When using MacPorts GCC on OS X and enlisting the Clang Integrated Assembler via -Wa,-q, the assembler produces a stream of warnings for each file. A sampling of the warnings is shown below (so many of them, the Stack Overflow editor would not allow me to paste the entire stream).

Continue Reading

Impossible to suppress a specific clang warning on Mac OS X

December 27, 2020 Ogima Cooper

Question or issue on macOS: I have set -Wno-unused-parameter (and some others) compiler flag, and it is indeed passed to the compiler, but I’m still getting this warning:

Continue Reading

Posts navigation

Older posts

Same Catagory Posts

    iZZiSwift | Developed by iZZi Team from 2017