<commit_before>//
// ulib - a collection of useful classes
// Copyright (C) 2009,2012,2014,2015 <NAME>
//
/// \file Wtl.hpp configuration for WTL 8 or higher
//
#pragma once

// needed includes
#include "Atl.hpp"

// min and max macros are used in atlcom.h, etc., so temporarily define them here
#ifndef min
#  define min(x,y) (x) < (y) ? (x) : (y) ///< temporary define of min()
#endif

#ifndef max
#  define max(x,y) (x) > (y) ? (x) : (y) ///< temporary define of min()
#endif

// ignore /analyze warnings in WTL header files
#pragma warning(push)
#pragma warning(disable: 6001 6011 6031 6387)

// ignore warnings in WTL header files not ported to Visual Studio 2015
#pragma warning(disable: 4302) // 'type cast' : truncation from 'T1' to 'T2'
#pragma warning(disable: 4838) // conversion from 'T1' to 'T2' requires a narrowing conversion
#pragma warning(disable: 4091) // 'typedef ' : ignored on left of 'T1' when no variable is declared
#pragma warning(disable: 4458) // declaration of 'var1' hides class member

// WTL includes
#include <atlapp.h>
extern CAppModule _Module; ///< app module
#include <atlwin.h>
#include <atlframe.h>
#include <atlctrls.h><commit_msg>removed some warnings we have to disable, for new WTL version<commit_after>//
// ulib - a collection of useful classes
// Copyright (C) 2009,2012,2014,2015 <NAME>
//
/// \file Wtl.hpp configuration for WTL 8 or higher
//
#pragma once

// needed includes
#include "Atl.hpp"

// min and max macros are used in atlcom.h, etc., so temporarily define them here
#ifndef min
#  define min(x,y) (x) < (y) ? (x) : (y) ///< temporary define of min()
#endif

#ifndef max
#  define max(x,y) (x) > (y) ? (x) : (y) ///< temporary define of min()
#endif

// ignore /analyze warnings in WTL header files
#pragma warning(push)
#pragma warning(disable: 6001 6011 6031 6387)

// ignore warnings in Win32 API header files that WTL includes
#pragma warning(disable: 4091) // 'typedef ' : ignored on left of 'T1' when no variable is declared

// WTL includes
#include <atlapp.h>
extern CAppModule _Module; ///< app module
#include <atlwin.h>
#include <atlframe.h>
#include <atlctrls.h>
{'fraction_non_alphanumeric': 0.13776944704779756, 'fraction_numerical': 0.04639175257731959, 'mean_word_length': 3.786995515695067, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2308427', 'n_tokens_mistral': 794, 'n_tokens_neox': 697, 'n_words': 280}