Author Topic: .inl files  (Read 3697 times)

Offline dwmcqueen

  • Multiple posting newcomer
  • *
  • Posts: 56
.inl files
« 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?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12187
    • Travis build status
Re: .inl files
« Reply #1 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
(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!]

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6720
    • My Best Post
Re: .inl files
« Reply #2 on: October 22, 2009, 03:31:19 pm »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
When in doubt, read the CB WiKi FAQ.

Offline dwmcqueen

  • Multiple posting newcomer
  • *
  • Posts: 56
Re: .inl files
« Reply #3 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.