Hi,
tannousmarc has left the following comment at Create an utility library
(LIBBU) API unit test for bomb.c
http://www.google-melange.com/gci/task/view/google/gci2014/6449379632218112:
Where do I even start
After my last batch of updates, I spoke to Ch3ck via IRC.
He enlightened me about some of the macro processors principles and
suggested that I define the function inside an IFDEF for unistd.h .
However, I cannot #define a function inside another macro proessor as the
results of my entire evening showed ( realized that after 2 hours of trying
to fix the various compiler issues ), and defined it as a function.
I have succesfully compiled this on the VM, the tests work fine and I am
exhausted.
This might seem as simple code, but I swear to God I took all the possible
options of the code until reaching this one that works, is portable,
defines as little libraries as possible and GETS THROUGH COMPILATION. I
have spent my entire weekend on figuring out how macroprocessors work and I
can say that I've learned a lot, but also that I hope you like this final
version of my source, and if you have any questions I'm probably on IRC.
Have a good day/evening, sorry for taking so long to solve such a simple
task,
Greetings,
The Google Open Source Programs Team
---
You are receiving this message because you are subscribed to Create an
utility library (LIBBU) API unit test for bomb.c.
To stop receiving these messages, go to:
http://www.google-melange.com/gci/task/view/google/gci2014/6449379632218112.
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Tracker mailing list
brlcad-tracker@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-tracker