[gtkmm] precompiled headers

Hi all,

I have tested the classic hello world program using the new gcc 3.4
precompiled headers and... it was 4 times faster! Precompiled headers
rule! :)

#ifdef USE_PCH #include <bits/stdc++.h>
   #include <iostream>

int main()
   std::cout << "Hello World\n";

The compile line was: time g++ -o hello hello.cc -DUSE_PCH


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]