Brian "Krow" Aker (krow) wrote,
Brian "Krow" Aker
krow

Dear Lazyweb, C++ library names and include files

Hi!

I don't write new C++ libraries all that often that I intend to publish. I have a class I need to define... so I am thinking...

/usr/include/Class.h

but...

I already have a
/usr/include/class.h

OSX, Windows.... both have case insensitive file systems. So the above is not going to work.

What is the common naming convention to use?

For the library I was going to do:
libclass++.so

so that it does not clash with:

libclass.so

Any thoughts? Surely one of you out there has strong feelings on this sort of thing.

Thanks!
-Brian
Subscribe
  • Post a new comment

    Error

    Comments allowed for friends only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 3 comments