#771 _tmain()

WSL
pending
None
Feature
accepted
Feature_in_WSL_4.1
False
2013-04-10
2005-05-13
No

When you try compile

#include <windows.h>
#include <tchar.h>

int _tmain(int argc, tchar argv[])
{
....
}

with unicode -DUNICODE -D_UNICODE
the main are not being found
w3seek and I GreatLord in reactos notice this lite
problem

when this are being use it shall using unicode version of
main not the ansi version of main

Discussion

  • Filip Navara

    Filip Navara - 2005-07-03

    Logged In: YES
    user_id=93076

    There was a patch for mingw-runtime submitted long time ago
    to support this. See
    http://sourceforge.net/mailarchive/forum.php?thread_id=2448090&forum_id=5120

    admin note: The provided link does not work or rather leads to an access issue.

     
    Last edit: Earnie Boyd 2013-04-10
  • Earnie Boyd

    Earnie Boyd - 2012-10-22

    wmain is still undefined, we need startup code to handle it. I'll take a look at this for the 4.1 release.

     
  • Earnie Boyd

    Earnie Boyd - 2012-10-22
    • labels: --> WSL (Windows System Libraries)
    • milestone: --> Feature_in_WSL_4.1
    • assigned_to: nobody --> earnie
    • status: open --> pending-remind
     
  • Earnie Boyd

    Earnie Boyd - 2013-01-18
    • category: --> Feature_in_WSL_4.1
    • milestone: Feature_in_WSL_4.1 --> WSL
     
  • Earnie Boyd

    Earnie Boyd - 2013-02-04
    • labels: WSL (Windows System Libraries) -->
    • status: pending-remind --> pending
    • resolution: --> later
     
  • Earnie Boyd

    Earnie Boyd - 2013-04-10
    • Type: --> Feature
    • Resolution: later --> accepted
    • Patch attached: --> False
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks