c++ - Adding file as header in source-source transformation using clang -


#include <stdio.h> int main(void) {   workfunc();   return 0; } 

i have sample code above, function being called in 'main' in header file 'header.h'. after transformation, code must like

#include <stdio.h> #include "header.h" int main(void) {   workfunc();   return 0; } 

please help. using clang, c++ coding , transformation code available in link

i recommend call along same way call header files program , should work.


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -