Changeset 10887:43fcaa1ba432 in orange


Ignore:
Timestamp:
05/23/12 06:40:23 (2 years ago)
Author:
Bobby Powers <bobby@…>
Branch:
default
Message:

headers: clean up #includes

This both reduces noise and fixes a build error from my distro's gcc
4.7.

Location:
source/orange
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • source/orange/errors.hpp

    r6531 r10887  
    2323 
    2424#include <string> 
     25#include "px/orange_globals.hpp" 
    2526 
    2627using namespace std; 
     
    4748#endif 
    4849 
    49 #include "garbage.hpp" 
    50  
    5150void ORANGE_API raiseError(const char *anerr, ...); 
    5251void ORANGE_API raiseErrorWho(const char *who, const char *anerr, ...); 
  • source/orange/garbage.hpp

    r6531 r10887  
    5656// Not the most appropriate, but surely the most suitable place: 
    5757#include "px/orange_globals.hpp" 
     58#include "errors.hpp" 
    5859 
    5960#define WRAPPER ORANGE_WRAPPER 
  • source/orange/getarg.cpp

    r6963 r10887  
    2525#include "errors.hpp" 
    2626#include <stdio.h> 
    27  
     27#include <string.h> 
    2828 
    2929TProgArguments::TProgArguments() : 
  • source/orange/root.hpp

    r7899 r10887  
    2323#define __ROOT_HPP 
    2424 
     25#include "errors.hpp" 
    2526#include "garbage.hpp" 
    26 #include "errors.hpp" 
    2727 
    2828 
Note: See TracChangeset for help on using the changeset viewer.