News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

.inl files

Started by dwmcqueen, October 22, 2009, 02:27:18 PM

Previous topic - Next topic

dwmcqueen

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?

oBFusCATed

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
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

dwmcqueen

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.