Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: dwmcqueen on October 22, 2009, 02:27:18 pm

Title: .inl files
Post by: dwmcqueen on October 22, 2009, 02:27:18 pm
I saw an old posting that said to get the .inl files to be properly recognized as source, one does this:

"Project->Project tree->Edit file types & categories" and add "*.inl;*.INL" (without quotes) in the sources

However, I did that - my file masks for Sources is "*.c;*.cpp;*.cc;*.cxx;*.C;*.CPP;*.CC;*.CXX;*.inl;*.INL;"

However, I still get this in my build log:

Compiling: include\curlpp\Easy.inl
c:/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe:C:\Tools\curlpp\include\curlpp\Easy.inl: file format not recognized; treating as linker script
c:/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe:C:\Tools\curlpp\include\curlpp\Easy.inl:25: syntax error
collect2: ld returned 1 exit status

Any thing else to look at?
Title: Re: .inl files
Post by: oBFusCATed on October 22, 2009, 02:58:25 pm
Why do you want to build the *.inl-s directly?
You could try to include them in the appropriate header on release or the cpp on debug
Title: Re: .inl files
Post by: stahta01 on October 22, 2009, 03:31:19 pm
Read this and see if it helps
http://wiki.codeblocks.org/index.php?title=Adding_support_for_non_C/C%2B%2B_files_to_the_build_system
Title: Re: .inl files
Post by: dwmcqueen on October 22, 2009, 04:28:33 pm
I will take a look at the wiki.  I guess the steps I took already must have changed.

These are, in effect C++ files.  I am trying to compile curlpp and for some reason they use inl files there.