Skip to content
This repository

Folly is an open-source C++ library developed and used at Facebook.

branch: master

Fix header ordering lint failures

Summary:
Headers whose includes are not sufficient cause problems when included
from other files. An easy way to prevent this is to include the header
first in its associated cpp file. In fact, we have a lint rule for this.
However, there are places where this rule is ignored. This diff fixes
many of them.

Note that a few top-level directories were excluded.

Reviewed By: robbert@fb.com

FB internal diff: D1281032
latest commit b215baa252
Nicholas Ormrod authored April 18, 2014 sgolemon committed April 18, 2014
Octocat-spinner-32 folly Fix header ordering lint failures April 18, 2014
Octocat-spinner-32 .gitignore Fix build and test. June 12, 2012
Octocat-spinner-32 LICENSE Move LICENCE and README to top level directory June 04, 2012
Octocat-spinner-32 README Update build for Ubuntu 12.10. 12.04 seems to no longer compile August 28, 2013
README
Folly: Facebook Open-source LibrarY
-----------------------------------

Folly is an open-source C++ library developed and used at Facebook.

For details, see folly/docs/Overview.md.

Folly is published on Github at https://github.com/facebook/folly; for
discussions, there is a Google group at
https://groups.google.com/d/forum/facebook-folly.

Dependencies
------------

- double-conversion (http://code.google.com/p/double-conversion/)

    By default, the build tooling for double-conversion does not build
    any libraries, which folly requires.  To build the necessary libraries
    copy folly/SConstruct.double-conversion to your double-conversion
    source directory before building:

      [double-conversion/] scons -f SConstruct.double-conversion

    Then set CPPFLAGS/LDFLAGS so that folly can find your double-conversion
    build:

      [folly/] LDFLAGS=-L<double-conversion>/ CPPFLAGS=-I<double-conversion>/src/
        configure ...

- googletest (Google C++ Testing Framework)

  Grab gtest 1.6.0 from:
  http://googletest.googlecode.com/files/gtest-1.6.0.zip

  Unzip it inside of the test/ subdirectory.

- additional platform specific dependencies:

  Ubuntu 12.10 64-bit
    - g++
    - automake
    - autoconf
    - autoconf-archive
    - libtool
    - libboost1.46-all-dev
    - libgoogle-glog-dev
    - libgflags-dev
    - scons (for double-conversion)

  Fedora 17 64-bit
    - gcc
    - gcc-c++
    - autoconf
    - autoconf-archive
    - automake
    - boost-devel
    - libtool
    - glog-devel
    - gflags-devel
    - scons (for double-conversion)
Something went wrong with that request. Please try again.