warp, a fast C and C++ preprocessor – outdated project

I’m writing this down to catch the attention of some folks who are into this warp/warpdrive or those who put this thing on github.
I’ve been trying to use compile and use it. With some tweaks, I could compile it. But, the source tree and files uploaded at git master branch at https://github.com/facebook/warp is somewhat outdated, and it is missing a whole lot of information.

Although I appreciate the contribution to open source from facebook folks, it seems to me that it is not done in proper way.

  • There are plenty of hard-coded paths in Makefiles(ok, I can fix them),
  • Missing scripts  – builtin_defines.sh is missing(its tricky to take a guess, and even if I could arrive at something, I’m not sure if it is optimum)
  • Basic documentation going missing, example, the documentation says,

This will produce warp (the core program) and also the drivers warpdrive_gcc4_7_1, warpdrive_gcc4_8_1,warpdrive_clang3_2, warpdrive_clang3_4, and warpdrive_clangdev, each packaged for the respective compiler and version.

  • but, none of the Makefiles build these drivers, which makes the whole understanding unclear.
  • It is a pretty incomplete project uploaded at github and it asks for a lot of time being invested to get this tool working, which perhaps could have been easily avoided, making the contribution much more worthwhile at the open source standards, if someone from FB checked it more carefully and uploaded it to github.

I tried contacting nearly all of those who are contributors on github to this project to kind of help me by uploading that missing piece of information, and I haven’t got any reply from anyone yet. So, I’m writing this blog post hoping to grab their attention or someone who knows warp/warpdrive better already so that the missing information could be corrected and the project is more useful.

CSS Popup Box With Background Disabled

It is my curiosity to right mouse click on a web page, and click “Inspect” that comes with Firebug every time I find a web page catchy. I’ve been trying to have a CSS pop up box that forces some type of confirmation, and while the question asked in the pop up isn’t answered, I wanted to have the parent background disabled (ie. no anchor links from the parent should be active/clickable)

I’d some options in mind, but I was unhappy with them as they seem to be inelegant. So, I went on to analyze how it is done on some of the websites. For instance, on Facebook here is what they seem to be doing as of this moment, the way I understand.

Say you wrote something in the “Update Status”, but clicked on something else. You are likely to see a pop up that asks whether you are sure about navigating away from the page.


The pop up that you see will have the following CSS rules.

.generic_dialog_modal, .generic_dialog_fixed_overflow {
    background-color: rgba(252, 252, 252, 0.9);
    height: 100%;
    z-index: 400;
.generic_dialog {
    left: 0;
    outline: medium none;
    overflow: visible;
    position: fixed;
    top: 0;
    width: 100%;

As z-index of this div that encloses the pop up div is 400 (must be the highest among all the elements), height being 100%, top being 0, position being fixed, the popup occupies the entire page on top of the any other element on the page.

If you want to find a way to click the links/images on the apparently disabled background, then just go on reducing the z-index using firebug, and you will notice that the right chat/update dock box+graph search portion opens up first, then the rest of the page become visible and the links becomes active, and dialogue box disappears when z-index is less than 0.

So, this seems to be one elegant and simple way to have a CSS pop up, with disabled/diminished background. 🙂

I hope this post is helpful.