Skip to content

Fix g++ compile errors under OSX #25

Closed
@ianfixes

Description

@ianfixes

System

  • OS: OSX
  • g++: builtin

Issue / Feature Request Summary

Generally, shore up the differences between OSX's g++ (really clang), g++-4.8 (on Travis), and g++-7 (tried it because it was available).

Reported in #24:

Fix for g++ compile errors under OSX.

/Library/Ruby/Gems/2.3.0/gems/arduino_ci-0.1.7/cpp/arduino/Print.h:57:86: error: unknown type name 'PGM_P'
/Library/Ruby/Gems/2.3.0/gems/arduino_ci-0.1.7/cpp/arduino/WString.h:39:16: error: no member named 'isnan' in namespace 'std'

Possibly useful

Metadata

Metadata

Assignees

No one assigned

    Labels

    arduino mocksCompilation mocks for the Arduino librarybugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions