Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Anti-aliasing: http://thomashunter.name/blog/enabling-anti-aliasing-in-the-netbeans-editor/

To fix parsing issues with standard defs (such as size_t) do the following:

  • Right click on the ram cloud project and select properties.
  • Under "Code Assistance -> C++ Compiler -> Include Directories" add the following line.
    • src;obj.master;gtest/include

 

 


Parsing C++11 Foo<Bar<Baz>> is broken in 7.2. Apparently this is fixed in the dailies: http://netbeans.org/bugzilla/show_bug.cgi?id=179939#c15 . Diego tried this with mixed results. The daily (8/30) seems stable, but it doesn't always parse the >> properly.

Under project build options, make sure you set your C++ standard to C++11. There are some other preprocessor macros you probably want to define so that NetBeans' parser will follow the #ifdefs properly.

  • __GXX_EXPERIMENTAL_CXX0X__
  • _GLIBCXX_USE_C99_STDINT_TR1

 

LogCabin's scons build copies all the source files to the build directory. Then when there are compiler errors, they are at build/Foo/Bar.cc. If you click on them, NetBeans opens the build cc file, which will soon be blown away. A work-around is to set the compile command to: sh -c "scons 2>&1 | sed 's/build\///'"

  • No labels