Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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:Under project build options, add the following in the included directories: 

  • 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.

...

  • __GXX_EXPERIMENTAL_CXX0X__
  • _GLIBCXX_USE_C99_STDINT_TR1

To delay project parsing until compile-time install Scan On Demand plug-in: http://wiki.netbeans.org/ScanOnDemand

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\///'"