Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optionally bracket all library with namespace #121

Closed

Commits on Dec 19, 2018

  1. Optionally bracket all library with namespace

    The ESP8266 (and probably others) have conflicting class naes for "File"
    and a few other names defined in SdFat.
    
    To guard against this, when the symbol "SDFAT_NAMESPACE" is defined at
    compile-time, bracket all objects, globals, constants, etc. in a
    "namespace sdfat { ... };" block.
    
    All examples updated to add "using namespace sdfat;" when required,
    meaning that they compile and run whether or not the define is set.
    
    No changes to existing apps are needed.
    Earle F. Philhower, III authored and Earle F. Philhower, III committed Dec 19, 2018
    Configuration menu
    Copy the full SHA
    0f9c6ef View commit details
    Browse the repository at this point in the history