#214 error C2664: 'getPlacement' : cannot convert parameter 1 fr

v2.6x
closed-rejected
Ian Brabham
Internals (76)
5
2012-04-23
2012-04-23
reandr
No

tried to compile on windows xp with vs 2010.
but failed.

1>------ Build started: Project: avisynth, Configuration: Release Win32 ------
1> convert_planar.cpp
1>convert\convert_planar.cpp(38): warning C4652: compiler option 'Warning level (/W<n>)' inconsistent with precompiled header; current command-line option will override that defined in the precompiled header
1>convert\convert_planar.cpp(919): error C2664: 'getPlacement' : cannot convert parameter 1 from 'const AVSValue' to 'const char *'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>convert\convert_planar.cpp(949): error C2664: 'getPlacement' : cannot convert parameter 1 from 'const AVSValue' to 'const char *'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>convert\convert_planar.cpp(1044): error C2664: 'getPlacement' : cannot convert parameter 1 from 'const AVSValue' to 'const char *'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>convert\convert_planar.cpp(1044): error C2664: 'getPlacement' : cannot convert parameter 1 from 'const AVSValue' to 'const char *'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
========== Build: 0 succeeded, 1 failed, 5 up-to-date, 0 skipped ==========

Discussion

  • Ian Brabham
    Ian Brabham
    2012-04-23

    • assigned_to: nobody --> ianb1957
    • status: open --> closed-rejected
     
  • Ian Brabham
    Ian Brabham
    2012-04-23

    Use the current source code.

    Specifically revision 1.15 of convert_planar.cpp and revision 1.8 of convert_planar.h.
    date: 2011/11/14 07:30:49; "Change getPlacement arg to "const AVSValue&" part 2"