Thread: Automatic Header File ... "version.h" !

  1. #1
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657

    Automatic Header File ... "version.h" !

    Suddenly(or not so suddenly...Idk) a header file named "version.h" appeared in my svn working directory.
    I don't think svn would create C++ code in a header file to do its versioning ...
    Any idea which one(IDE....I opened it as a makefile project in many or the makefile...or gcc)
    creating the following?
    Code:
    namespace AutoVersion{
    	
    	//Date Version Types
    	static const char DATE[] = "27";
    	static const char MONTH[] = "05";
    	static const char YEAR[] = "2011";
    	static const char UBUNTU_VERSION_STYLE[] = "11.05";
    	
    	//Software Status
    	static const char STATUS[] = "Alpha";
    	static const char STATUS_SHORT[] = "a";
    	
    	//Standard Version Type
    	static const long MAJOR = 1;
    	static const long MINOR = 0;
    	static const long BUILD = 0;
    	static const long REVISION = 0;
    	
    	//Miscellaneous Version Types
    	static const long BUILDS_COUNT = 1;
    	#define RC_FILEVERSION 1,0,0,0
    	#define RC_FILEVERSION_STRING "1, 0, 0, 0\0"
    	static const char FULLVERSION_STRING[] = "1.0.0.0";
    	
    	//These values are to keep track of your versioning state, don't modify them.
    	static const long BUILD_HISTORY = 0;
    	
    
    }
    #endif //VERSION_H

  2. #2
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    Did you google on a key phrase, like "namespace AutoVersion"? AutoVersioning Plugin

  3. #3
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    ..oo...sorry.... I left after googling "version.h", "svn version.h", "eclipse version.h"... and even the whole piece !!
    Guess I'm somewhat out of my head after a whole day of school..!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Why I can not "extern" a variable from header file?
    By meili100 in forum C++ Programming
    Replies: 22
    Last Post: 06-23-2008, 03:58 AM
  2. problem with -> notation and using a "general" header file
    By Yourhighness in forum C Programming
    Replies: 2
    Last Post: 06-08-2003, 08:39 AM
  3. Header file for "fix" function ?
    By Rex in forum C++ Programming
    Replies: 1
    Last Post: 04-08-2003, 04:42 AM
  4. "itoa"-"_itoa" , "inp"-"_inp", Why some functions have "
    By L.O.K. in forum Windows Programming
    Replies: 5
    Last Post: 12-08-2002, 08:25 AM
  5. "CWnd"-"HWnd","CBitmap"-"HBitmap"...., What is mean by "
    By L.O.K. in forum Windows Programming
    Replies: 2
    Last Post: 12-04-2002, 07:59 AM